[ 
https://issues.apache.org/jira/browse/CB-9525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darryl Pogue resolved CB-9525.
------------------------------
    Resolution: Fixed

> Dependent plugins not restored with versions from config.xml
> ------------------------------------------------------------
>
>                 Key: CB-9525
>                 URL: https://issues.apache.org/jira/browse/CB-9525
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-lib
>    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.
> {code:xml}
> <?xml version='1.0' encoding='utf-8'?>
> <widget id="io.cordova.hellocordova" version="0.0.1" 
> xmlns="http://www.w3.org/ns/widgets"; 
> xmlns:cdv="http://cordova.apache.org/ns/1.0";>
>     <name>HelloCordova</name>
>     <description>
>         A sample Apache Cordova application that responds to the deviceready 
> event.
>     </description>
>     <author email="d...@cordova.apache.org" href="http://cordova.io";>
>         Apache Cordova Team
>     </author>
>     <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>
>     <platform name="ios">
>         <allow-intent href="itms:*" />
>         <allow-intent href="itms-apps:*" />
>     </platform>
>     <engine name="android" spec="~4.1.1" />
>     <plugin name="cordova-plugin-file" 
> spec="git://github.com/apache/cordova-plugin-file.git" />
>     <plugin name="cordova-plugin-file-transfer" spec="~1.2.1" />
> </widget>
> {code}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to