Setup the Expo Example App
mainTo set up the Expo example application, ensure you have Node.js 18+, Expo CLI, Xcode/CocoaPods (for iOS), and the Google TapAndPay SDK (for Android).
- Install dependencies: Run
npm install. - Configure Google TapAndPay SDK (Android only): Place the SDK zip file in the shared libs directory at
apps/libs/expo-example/tapandpay-v18.7.0.zip. The Expo config plugin handles extraction during prebuild. - Generate native projects: Run
npx expo prebuild --cleanto generate iOS/Android projects, apply the wallet plugin, and extract the SDK.
npm install
# Place SDK at apps/libs/expo-example/tapandpay-v18.7.0.zip
npx expo prebuild --clean