-
Notifications
You must be signed in to change notification settings - Fork 657
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Android] env file isn't loaded if gradlew command is written in lowercase #619
Comments
metuuu
added a commit
to metuuu/react-native-config
that referenced
this issue
Oct 21, 2021
for env file to be loaded lugg#619
@henrymoulton by trying to build certain app variant and wondering why the app isn't working. |
Wow, thanks, I was wondering why it was not working. That was the solution for me. |
Thanks! That is why I couldn't build the right env with fast lane but was working with gradlew command |
I also noticed this - a bit annoying |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
assembledevelopmentdebug
doesn't load env file butassembleDevelopmentDebug
does.The issue appeared after upgrading React Native from version 63 to 64. It seems that :app:generateDevelopmentDebugBuildConfig task isn't called anymore in the React Native 64 version so tasks.whenTaskAdded code (that was removed in #617) stopped working after the RN upgrade. And the earlier part of the code has never worked with lowercase gradlew command.
The text was updated successfully, but these errors were encountered: