Skip to content
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

Open
metuuu opened this issue Oct 21, 2021 · 4 comments
Open

Comments

@metuuu
Copy link

metuuu commented Oct 21, 2021

assembledevelopmentdebug doesn't load env file but assembleDevelopmentDebug 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.

@metuuu
Copy link
Author

metuuu commented Oct 22, 2021

@henrymoulton by trying to build certain app variant and wondering why the app isn't working.

@kutsan
Copy link

kutsan commented Nov 12, 2021

Wow, thanks, I was wondering why it was not working. That was the solution for me.

@ste7en
Copy link

ste7en commented Dec 14, 2021

Thanks! That is why I couldn't build the right env with fast lane but was working with gradlew command

@Veeeeksi
Copy link

I also noticed this - a bit annoying

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants