[ https://issues.apache.org/jira/browse/CB-11777?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15554020#comment-15554020 ]
ASF GitHub Bot commented on CB-11777: ------------------------------------- Github user stevengill commented on the issue: https://github.com/apache/cordova-lib/pull/487 Nice investigating @dpogue! Good point about the hook order changing. My gut says it should be fine. Would that be a considered a major change is the question. > Plugins superseding config.xml > ------------------------------ > > Key: CB-11777 > URL: https://issues.apache.org/jira/browse/CB-11777 > Project: Apache Cordova > Issue Type: Bug > Components: CordovaLib > Affects Versions: 6.3.1 > Reporter: Darryl Pogue > Assignee: Darryl Pogue > Labels: triaged > > 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-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org