Amit Shetye
Amit Shetye

Reputation: 133

How to set Staging, Development and Live Environment in React Native

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

Answers (2)

Kirill Kunst
Kirill Kunst

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

Related Questions