Skip to content

AlejandroHCruz/mobile-buy-android-sample

 
 

Repository files navigation

Mobile Buy SDK

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 need to provide credentials to the shop that the app will point to:

  1. Create a private app with a Storefront API access token to access the storefront data. The storefront access token acts as the API key.
  2. Create shop.properties file under the root folder and add next lines:
SHOP_DOMAIN=<your-shop-here>.myshopify.com
API_KEY=<your-api-key>
  1. Install a virtual device using the AVD Manager and run the sample app on that device.

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.

About

Same as the base application, but migrated to AndroidX

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published