I am building a Cordova application that I am allowing different clients to brand. I was wondering if there was a way to have a default config.xml, and then have second file that overrides the default with the branded values. There are quite a few values I need to override, however some of the more obvious are :
- The id and version attributes of widget
- name
- description
- author
- icon (how would I override multiple of the same tag?)
- splash
If there is not a Cordova way of doing this, is there a linux tool that I could use for this purpose that would output my single config.xml file?
config.xml
and then run cordova with that config file. The client config file contains the paths to the client specific images, name and description. A simple node.js script could merge the two XML files via XSLT. – philk