cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Darryl Pogue (JIRA)" <>
Subject [jira] [Created] (CB-9525) Dependent plugins not restored with versions from config.xml
Date Thu, 20 Aug 2015 19:26:45 GMT
Darryl Pogue created CB-9525:

             Summary: Dependent plugins not restored with versions from config.xml
                 Key: CB-9525
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
    Affects Versions: 5.2.0
         Environment: OSX
            Reporter: Darryl Pogue

When I have a config.xml that uses a custom git branch of the cordova-plugin-file and the
npm version of cordova-plugin-file-transfer, the npm version of cordova-plugin-file is installed
before the git branch. This causes the app to use the npm version rather than the git branch
as specified in config.xml.

Test case:
Create a new cordova project, replace the config.xml with the following, run cordova prepare.

<?xml version='1.0' encoding='utf-8'?>
<widget id="io.cordova.hellocordova" version="0.0.1" xmlns=""
        A sample Apache Cordova application that responds to the deviceready event.
    <author email="" href="">
        Apache Cordova Team
    <content src="index.html" />
    <plugin name="cordova-plugin-whitelist" version="1" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="https://*/*" />
    <allow-intent href="tel:*" />
    <allow-intent href="sms:*" />
    <allow-intent href="mailto:*" />
    <allow-intent href="geo:*" />
    <platform name="android">
        <allow-intent href="market:*" />
    <platform name="ios">
        <allow-intent href="itms:*" />
        <allow-intent href="itms-apps:*" />
    <engine name="android" spec="~4.1.1" />
    <plugin name="cordova-plugin-file" spec="git://"
    <plugin name="cordova-plugin-file-transfer" spec="~1.2.1" />

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message