Android Buy SDK
The Mobile Buy SDK makes it easy to create custom storefronts in your mobile app, where users can buy products using Android Pay or their credit card. The SDK connects to the Shopify platform using GraphQL, and supports a wide range of native storefront experiences.
Contents of the SDK
The GitHub repository and each release include:
- The Android Buy SDK
- A sample app that shows how you can use the SDK
Before you can use the Android Buy SDK, you'll need:
- Android SDK Level 14 (Ice Cream Sandwich 4.0) or higher
- JDK 1.7
- Android Studio 2.1.x recommended
- A private app with a Storefront API access token.
If you want to offer Android Pay, then you'll also need to generate a public key.
Generate a public key for Android Pay
To generate a public key:
From your Shopify admin, go to Apps.
Click Manage private apps.
Click the name of your app.
In the Storefront API section, click Configure Mobile Buy SDK settings (optional).
In the Mobile Buy SDK (Android) section, click Enable.
Where to get help
Mobile app development falls outside the scope of our support service. This means that we're not able to help you if you run into problems, unless they're specifically related to the Android Buy SDK.
Need the job done quickly? View a listing of Shopify Experts for hire.
Developing Shopify Apps with the API? This is the place to talk to your peers.
The Android Buy SDK is open source, so feel free to open a GitHub issue.