Problem build with env react native

Hi. I’m using this : https://github.com/luggit/react-native-config , Require a ENVFILE=.env.development. I’m already export it using export ENVFILE=.env.development. But in the Android Build step not work. I think in build Android file step just running ./gradlew assembleRelease with variant build. Even though I try a lot with using export ENVFILE with bash, set envadd , set in Env still not work
How can I chain like this : ENVFILE=.env.development ./gradlew assembleRelease before build.

Ok. I got the problem because I’m missing config on my Android project

Hi @sieuhuflit, glad to hear you’ve resolved this quickly! :blush:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.