Hi guys, So a few days ago I read post here about Environment Variable in React Native, the Author made me realize that an Envfile should be build/compile time only.
so I just created a library for React Native JS-only Environment variable. checkit out
- can be installed as dev dependency
- JS only, no need native modules (you can use react-native-config for that)
- suport multiple environment
- select environment as command for example
rnenv ENV=production npm run build:android
sorry for my bad english though.