dar-alatta / docs/prod/deploy_mobile.md
Deploying mobile app
Dar Al Atta's application and website
Deploying mobile app
1 Building the app
1.1. Configuration
To build the app, do the following:
- On every build, make sure to increment these fields in
app.jsonfile:versionandroid.versioncodeios.buildnumber
1.2. Creating production build
We configured the repo to use Expo Workflows when any tag with v* prefix is created, hence, to create a production build create a production tag:
git tag v1.2.3 # TODO: change tag by incremnting latest tag
git push origin tag v1.2.3 # TODO: change tag by incremnting latest tag
When the tag is pushed to github, you'll see the workflow getting started.
1.3. Publishing the build
Once the workflow is done, the app will be deployed in TestFlight in App Store and in "Internal Testing" track in Google Play.
You will need to log in to both platforms to publish the apps for production. Ask the lead/devops for access if you don't have.
[Optional] 1.4. Local build
If you want to build the app locally (without relying on Expo), check:
- Follow this guide to create a local ios production build
- Follow this guide to create a local android production build