New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to release a build for staging env #353
Comments
Hey, thank you for opening this issue! 🙂 To boost priority on this issue and support open source please tip the team at https://issuehunt.io/r/goatandsheep/react-native-dotenv/issues/353 |
Sorry, but there is no information is not clear about how to run iOS in a I created the schema for staging, selecting |
@felipejh Did you fix this? I need to create an archive in Xcode using the |
@badalsaibo did you fix this? |
It is working for me for Android and iOS yes after extensive testing. I will need to overhaul the documentation but the rough docs are in wiki. I'm almost caught up. Should be on it this weekend. |
I didn't. I have to manually change the .env contents for production and dev while creating archive for iOS |
@goatandsheep |
Hi Team,
I have followed multiple env files in the app.
I have set three different values for the API_BASE_URL since I need to connect to the backend according to the environment.
currently working with debug mode by setting environment like this => APP_ENV=staging react-native start
My question is when I release a build using Xcode archive, how to set the .env.staging file values? it is always picking the .env.production values. I need to get a build that app connected to staging backend URL
The text was updated successfully, but these errors were encountered: