Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 973 Bytes

File metadata and controls

31 lines (21 loc) · 973 Bytes

Android Samples

This directory contains Android sample apps for Checkout Kit.

Sample app storefront configuration is generated from the repo-root .env. Run dev up from the repo root or any platform directory to provision the repo and create or sync the generated sample config files.

Sample Purpose
CheckoutKitAndroidDemo Storefront API cart flow with Apollo Kotlin, checkout presentation, typed protocol lifecycle events, file chooser handling, geolocation callbacks, buyer identity demo data, and Customer Account API sign-in.

Setup

From the repo root or this platform directory:

dev up

If you are not using dev, copy the repo-root .env.example to .env, fill in local values, then run:

scripts/setup_storefront_env

The setup script generates platforms/android/samples/CheckoutKitAndroidDemo/.env.

Open CheckoutKitAndroidDemo in Android Studio, sync Gradle, then build and run the app target.