You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2015/07/25 13:32:04 UTC
[jira] [Closed] (CB-7514) res/xml/config.xml Gets clobbered on
prepare with default values.
[ https://issues.apache.org/jira/browse/CB-7514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jcesarmobile closed CB-7514.
----------------------------
Resolution: Not A Problem
Assignee: jcesarmobile
It's not a problem, you have to work on the root config.xml and changes are passed to the res/xml/config.xml on prepare or build, everything you write on res/xml/config.xml will be deleted.
The doc wasn't very clear because it was telling to add plugins on the res/xml/config.xml, but now it indicates that you should use the plugin.xml to copy these values
> res/xml/config.xml Gets clobbered on prepare with default values.
> -----------------------------------------------------------------
>
> Key: CB-7514
> URL: https://issues.apache.org/jira/browse/CB-7514
> Project: Apache Cordova
> Issue Type: Bug
> Components: CLI
> Affects Versions: 3.5.0
> Environment: windows 7 64bit, android.
> Reporter: Kris Erickson
> Assignee: jcesarmobile
>
> When running "cordova prepare android" the res/xml/config.xml gets clobbered with default values (e.g. id becomes io.cordova.helloCordova, it looses a couple of installed plugins, the version gets reset to the default value, etc). See http://stackoverflow.com/a/20383398/3798 for a good summary of what happens.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org