- Go to example folder
cd example
-
Install CocoaPods dependencies (iOS only)
pod install --project-directory=ios
- Install npm dependencies
npm install
-
Configure project before build
PUBLISHABLE_KEY=<...> MERCHANT_ID=<...> npm run
configure
-
Build project:
npm run build:ios
- for iOS
npm run build:android
- for Android
- Open Appium in other tab
npm run appium
-
Run tests:
npm run test:ios
- for iOS
npm run test:android
- for Android
npm run test
- for both iOS and Android