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

Vladimir Kotikov reassigned CB-9997:
------------------------------------

    Assignee: Vladimir Kotikov

> Adding plugin tag to config.xml w/o spec attribute does not install the plugin
> ------------------------------------------------------------------------------
>
>                 Key: CB-9997
>                 URL: https://issues.apache.org/jira/browse/CB-9997
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 4.1.0
>            Reporter: Tobias Bocanegra
>            Assignee: Vladimir Kotikov
>
> (only tested on android)
> when my config.xml contains a plugin element with no {{spec}} attribute, it 
> is not added to the android platform. but also no error is reported. for 
> example:
> {{<plugin name="cordova-plugin-whitelist" />}}
> vs
> {{<plugin name="cordova-plugin-whitelist" spec="1.0.0" />}}
> the former just logs:
> {noformat}
>      [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Installing to the project
> {noformat}
> the later
> {noformat}
>      [exec] Discovered plugin "cordova-plugin-whitelist" in config.xml. 
> Installing to the project
>      [exec] Fetching plugin "[email protected]" via npm
>      [exec] Installing "cordova-plugin-whitelist" for android
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to