Open MWaqasHussain-dev opened 2 years ago
What helped me is this great project. You can use .rnucrc.js
file to copy files while changing the .env
files. You can copy whatever you want, I use it to copy icons for different versions of the app as well as Firebase configuration files.
@MWaqasHussain-dev pay attention to this file https://github.com/isilher/red-vs-blue/blob/master/.rnucrc.js
You can keep your different Google files somewhere in the project, let's say in folder white-label
, and copy them to the ios or android folder during the env setup.
@MWaqasHussain-dev This may help: https://stackoverflow.com/a/50731611
Hye @aymkin @michalpazur But during add the base file, do we check copy items if needed and select create groups? Or just check copy reference?
I have handled the multi flavor part (Like DEV, STAG, PROD) for both android and ios ....
but i am stuck with with multiple google infoPlist file.... as i have three flavors so there would be 3 Plist file of firebase.....
How to manage and connect them when pre-action run or any other alternative for DEV, STAG, PROD.. Any idea ?