Awesome
Mobile Buy SDK - Sample Android App
The Mobile Buy SDK makes it easy to create custom storefronts in your mobile app, where users can buy products using Google Pay or their credit card.
The Buy SDK includes a comprehensive sample application that covers the SDK's most common use cases. It's built on best practices and our recommended ViewModel
architecture. You can use it as a template, a starting point, or a place to cherrypick components as needed.
Table of contents
Setup ⤴
To run the sample application, you can import this repository in Android Studio and run the project on a virtual device that you've created in the AVD manager.
Provide your own credentials
You may choose to provide credentials to the shop that the app will point to:
- Create a private app with a Storefront API access token to access the storefront data. The storefront access token acts as the API key.
- Modify the file
sample/shop.properties
with your credentials.
SHOP_DOMAIN=<your-shop-here>.myshopify.com
API_KEY=<your-api-key>
Contributions ⤴
We welcome contributions. Please follow the steps in our contributing guidelines.
Help ⤴
For help, see the Android Buy SDK documentation or post questions on our forum, in Shopify APIs & SDKs
section.
License ⤴
The Mobile Buy SDK is provided under an MIT License.