Reputation: 133
I want to setup a Staging, Live, and Development environment in React Native for both iOS and Android Platform. How should I do that? What should be the structure of the Application?
Upvotes: 1
Views: 2401
Reputation: 133
https://itnext.io/the-easiest-way-to-setup-multiple-environments-on-react-native-67b33d073390
This is also a good solution.
Upvotes: 0
Reputation: 151
You definitely could use react-native-config
library and separate .env
files for each environment. Here is a tutorial: https://dev.to/calintamas/how-to-manage-staging-and-production-environments-in-a-react-native-app-4naa.
Upvotes: 1