Expo: Managing multiple environments for an app

Created on 26 Apr 2017  路  3Comments  路  Source: expo/expo

From Slack:

What is common practice to handle different environments with expo, i.e.

1) ~Run in DEV mode for expo client~ (you can do this with Expo.Constants.AppOwnership
2) Build in STAGING mode to publish up in test flight
3) Build in RELEASE mode to publish in app store

how would these be configured in app.json and available as globals within the app?


Currently the only way to release to different environments is by having a slug for each environment (or user) and changing the slug in exp.json (eg: slug myapp-staging). It would be better to have first class support for different deployment environments.

Most helpful comment

I wrote a bash script to handle this: https://github.com/oliverbenns/expo-deploy

All 3 comments

I wrote a bash script to handle this: https://github.com/oliverbenns/expo-deploy

exp-deploy-cli This also looks promising.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

knod picture knod  路  3Comments

clems36 picture clems36  路  3Comments

mfoncho picture mfoncho  路  3Comments

fredjens picture fredjens  路  3Comments

phenrigomes picture phenrigomes  路  3Comments