You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Connor Pearson (JIRA)" <ji...@apache.org> on 2015/03/11 19:44:40 UTC
[jira] [Updated] (CB-8651) Restoring platforms and plugins causes
plugin install to be triggered twice
[ https://issues.apache.org/jira/browse/CB-8651?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Connor Pearson updated CB-8651:
-------------------------------
Description:
Using the basic starter app with the following config.xml:
{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>
<content src="index.html" />
<access origin="*" />
<engine name="ios" version="3.8.0" />
<feature name="Device">
<param name="id" value="org.apache.cordova.device" />
</feature>
</widget>
{code}
Running cordova prepare ios without a platforms or plugins directory produces this output:
{quote}
Restoring platform ios@3.8.0 referenced on config.xml
Adding ios project...
iOS project created with cordova-ios@3.8.0
Discovered org.apache.cordova.device in config.xml. Installing to the project
Fetching plugin "org.apache.cordova.device" via plugin registry
Installing "org.apache.cordova.device" for ios
Plugin "org.apache.cordova.device" already installed on ios.
{quote}
It looks like Cordova is trying to install the plugin twice.
was:
Using the basic template with the following config.xml:
{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>
<content src="index.html" />
<access origin="*" />
<engine name="ios" version="3.8.0" />
<feature name="Device">
<param name="id" value="org.apache.cordova.device" />
</feature>
</widget>
{code}
Running cordova prepare ios without a platforms or plugins directory produces this output:
{quote}
Restoring platform ios@3.8.0 referenced on config.xml
Adding ios project...
iOS project created with cordova-ios@3.8.0
Discovered org.apache.cordova.device in config.xml. Installing to the project
Fetching plugin "org.apache.cordova.device" via plugin registry
Installing "org.apache.cordova.device" for ios
Plugin "org.apache.cordova.device" already installed on ios.
{quote}
It looks like Cordova is trying to install the plugin twice.
> Restoring platforms and plugins causes plugin install to be triggered twice
> ---------------------------------------------------------------------------
>
> Key: CB-8651
> URL: https://issues.apache.org/jira/browse/CB-8651
> Project: Apache Cordova
> Issue Type: Bug
> Components: CordovaLib
> Reporter: Connor Pearson
> Priority: Minor
>
> Using the basic starter app with the following config.xml:
> {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>
> <content src="index.html" />
> <access origin="*" />
> <engine name="ios" version="3.8.0" />
> <feature name="Device">
> <param name="id" value="org.apache.cordova.device" />
> </feature>
> </widget>
> {code}
> Running cordova prepare ios without a platforms or plugins directory produces this output:
> {quote}
> Restoring platform ios@3.8.0 referenced on config.xml
> Adding ios project...
> iOS project created with cordova-ios@3.8.0
> Discovered org.apache.cordova.device in config.xml. Installing to the project
> Fetching plugin "org.apache.cordova.device" via plugin registry
> Installing "org.apache.cordova.device" for ios
> Plugin "org.apache.cordova.device" already installed on ios.
> {quote}
> It looks like Cordova is trying to install the plugin twice.
--
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