Skip to content
This repository has been archived by the owner on Jul 16, 2024. It is now read-only.

Shopify/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 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:

  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. 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.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published