-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow overriding custom values in config.xml #1
Comments
The reason I went with environment variables is that they're easy to specify in almost all continuous integration systems like Travis, Jenkins, and Appveyor. The downside of a JSON file is that you either need to check that file into your project, or you end up trying to inject or fetch it from somewhere as part of your build process. Overriding preferences is a use case I've run into, but don't have a great solution for. Something like |
@dpogue I understand why you need env variables in some case as it gives you greater flexibility.
It's the case for CodePush that recommends using a different key for iOS/Android. So you have a Staging/Prod + iOS/Android = 4 possible keys for a single app that you might want to use. |
Hi,
As far as I understand it, your project seems to permit to easily customize the config.xml according to some env variables. I'd like to use that to create different config.xml files according to the release context (dev/staging/prod)
But I have preferences that have to vary per env. Is it possible to configure the values based on some env variable?
Also, instead of using env variables, wouldn't it be great to have a json with all the things we want to override?
The text was updated successfully, but these errors were encountered: