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
Android release build is picking debug environment instead of prod #56
Comments
You can either wait / help #1 or set path to |
you may also use the env option in babel |
I am having the same issue. Running The same issue cannot be repeated in iOS, because for whatever reason, I need to manually bundle in iOS. And the |
Some people are saying to follow the Android signing guide https://reactnative.dev/docs/signed-apk-android#adding-signing-config-to-your-apps-gradle-config |
Thanks for the response. I have signing set up already, but still not working. I keep getting this error message:
I think it is because I have also tried to define |
Do you think you can try adding the variable to |
I did a bit more digging with the path set to
In conclusion, I can set path to Some correction on my previous post: I do NOT need to set |
@FanchenBao thank you so much for your incredible detailed response! I'm going to have to look into this a bit more |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I'm having an issue where the Android release build is picking up the variables inside .env instead of variables inside .env.production. iOS works fine.
"react-native": "0.62.2",
"react-native-dotenv": "^2.3.0",
"babel-plugin-dotenv-import": "^2.1.0",
.bablerc:
babel.config.js
The text was updated successfully, but these errors were encountered: