You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tobias Bocanegra (JIRA)" <ji...@apache.org> on 2015/11/14 00:49:11 UTC

[jira] [Created] (CB-9997) Adding plugin tag to config.xml w/o spec attribute does not install the plugin

Tobias Bocanegra created CB-9997:
------------------------------------

             Summary: 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


(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