infacto commented on issue #528: URL: https://github.com/apache/cordova-cli/issues/528#issuecomment-684570294
I use NodeJS with a xml to json parser and a json file per app with the required informations (id, name, version). Replaces the `config.xml`. It's not ignored in git because the `config.xml` is also required by Cordova for new plugins and other settings. I could revert the file after build or on try-catch error. But it's not really safe. ... Anyway ... In my opinion, passing parameters to the build command would be the best solution. Or a separate temporary file used by the Cordova build that overwrites the config.xml parameters if present. 🤔 Maybe an optional property in the `build.json`? Btw. to your iOS naming issue: The `platforms` folder (incl. `plugins`) should be not a part of the git repository. When you remove it before changing names, the build should work without issues. ... ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
