npm installnpx expo prebuild
npx pod-installiOS
First run the following command to start the app to start the dev server.
npx expo start --clearThen open Xcode with the following command.
xed iosIn Xcode, you can run the app by clicking the run button. Make sure to run the app on an actual device as the simulator is not supported by the app
Alternative: Using Expo CLI directly
Instead of using Xcode each time, you can run the app on your iPhone using:
npx expo run:ios --deviceFor a production build that doesn't require the Metro bundler running on the same network (but without console logs):
npx expo run:ios --configuration Release --deviceAndroid
First connect your Android device to your computer.
Then run the following command to run the app on your device.
npm run androidThe SRS file is too big to be committed to the repository. You can download it here: srs_21.local
Once you have downloaded the file, add the files to the following locations:
android/proving_artifacts/src/main/assets/srs_21.localandroid/app/src/main/res/raw/srs_21.localios/srs_21.local
The file name should be srs_21.local.
OpenCV binaries are not committed to the repository. To include them in the project, run the following command:
./scripts/setup-opencv-mobile.shThe rest of the instructions in the script can be ignored as these are a one-time setup already committed to the repository.
Internal Testing
npm run eas-cloud-build:internalTriggers an EAS cloud build and submits to:
- iOS: TestFlight internal testers group
- Android: Play Store internal testing track
Production
npm run eas-cloud-build:productionTriggers an EAS cloud build and submits to:
- iOS: TestFlight internal testers group (requires manual submission to App Store)
- Android: Play Store public release (automatic)
Note: For iOS, both scripts currently behave the same (i.e. submitting to the internal testers group). Manual submission is required for a public release to the App Store.