An Expo React Native app to showcase Appcues mobile patterns.
$ npm install
A development build update is needed for any changes to the native runtime.
NOTE: Ensure the proper value for the
google_services.json
api_key
is set before triggering a build.
$ eas build --profile development --platform android
After the build is complete, the CLI will prompt you to automatically download and install it on the Android Emulator. When prompted, press Y
to directly install it on the emulator.
$ eas build --profile development-simulator --platform ios
After the build is complete, the CLI will prompt you to automatically download and install the it on the iOS Simulator. When prompted, press Y
to directly install it on the simulator.
If you're just running the app, you can download an existing development build:
- Run
eas build:list --platform android
- Look for the latest (eg top of the list) build with
Distribution internal
. - Download the file listed as the corresponding
Artifact
. - Drag the downloaded .apk onto an Android emulator.
- Run
eas build:list --platform ios
- Look for the latest (eg top of the list) build with
Distribution simulator
. - Download the file listed as the corresponding
Artifact
. - Unzip the downloaded file and drag the .ipa onto an iOS Simulator.
$ npm run start
NOTE: Ensure the proper value for the
google_services.json
api_key
is set before triggering a build.
eas build --platform android
eas submit --platform android --latest
(--latest
flag uses the lastest EAS build)
eas build --platform ios
eas submit --platform ios --latest