The XCode project executes build-env.sh to make sure config.env.js is updated but the Android project doesn't seem to. Simple fix is to create a yarn android command eg "android": "yarn build:env && react-native run-android" but would be better to make the Android gradle projects execute build-env.sh
The XCode project executes
build-env.sh
to make sureconfig.env.js
is updated but the Android project doesn't seem to. Simple fix is to create ayarn android
command eg"android": "yarn build:env && react-native run-android"
but would be better to make the Android gradle projects executebuild-env.sh
XCode link https://github.com/ueno-llc/react-native-starter/blob/master/ios/react-native-starter.xcodeproj/project.pbxproj#L100