Closed kyleclegg closed 1 year ago
This might be interesting case to solve. Can you drop me a gist of your folder structure to better understand how to reproduce this with Gradle and play around?
Maybe we could rename --appFolder
to --appName
, does that make sense? Regardless, you can always run your command with e.g. ENV_APP=app1
env var and in RN config read it from process.env.MY_ENV
.
There hasn't been any activity on this issue in the past 3 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 7 days.
Per the documentation here one should no longer use
appFolder
. In our codebase we support two building to different apps/targets, so we do not want to set a single one inreact-native.config.js
. What's the best way to support multiple?My standard flow is to run either of the following commands:
I am met with the following warning:
warn Using deprecated "--appFolder" flag. Use "project.android.appName" in react-native.config.js instead.
Thanks for any feedback.