You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/07/28 14:53:20 UTC
[jira] [Closed] (CB-9997) Adding plugin tag to config.xml w/o spec
attribute does not install the plugin
[ https://issues.apache.org/jira/browse/CB-9997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Vladimir Kotikov closed CB-9997.
--------------------------------
Resolution: Cannot Reproduce
[~tripod], looks like this is not a problem anymore. Adding platform into the project where {{spec}} attribute is missing installs latest version of the plugin. Please reopen, if you still experiencing this issue.
> 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: CordovaLib
> Reporter: Tobias Bocanegra
> Assignee: Vladimir Kotikov
> Labels: cannot-reproduce, triaged
>
> (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 "cordova-plugin-whitelist@1.0.0" 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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org