zetachang / react-native-dotenv

A Babel preset let you import application configs from .env file (zero runtime dependency)
MIT License
915 stars 68 forks source link

Release App via XCode #33

Open schmaluk opened 6 years ago

schmaluk commented 6 years ago

Hello, I want to distinguish "development" and "production" via .env and .env.production-files. If I release the App via XCode, what enviroment will be set?

zetachang commented 6 years ago

I think it will be automatically pickup by the build script in Xcode (which will invoke react-native packager), please do let me know if you see a different result building using Xcode.

wachunei commented 6 years ago

It is automatically picked up.