You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Darryl Pogue (JIRA)" <ji...@apache.org> on 2016/08/26 22:16:21 UTC
[jira] [Created] (CB-11777) Plugins superseding config.xml
Darryl Pogue created CB-11777:
---------------------------------
Summary: Plugins superseding config.xml
Key: CB-11777
URL: https://issues.apache.org/jira/browse/CB-11777
Project: Apache Cordova
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: CordovaLib
Affects Versions: 3.5.0
Reporter: Darryl Pogue
Assignee: Vladimir Kotikov
The ongoing saga of CB-11589 and CB-11698...
When running {{cordova prepare}} to restore platforms and plugins, the platform has prepare called before the plugins are restored. This leads to the top-level config.xml data being copied into the platform at prepare time, and then plugin config being appended when they are later restored.
In my case, this was causing the Crosswalk version defined in my top-level config.xml to be overwritten by an undefined version when the plugin was installed. A workaround is to run {{cordova prepare}} a second time.
A better fix is probably to restore the platforms, restore the plugins, and then run prepare after everything has been restored.
--
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