Richard B Knoll created CB-10761:
------------------------------------

             Summary: cordova prepare does not restore saved plugins with no 
version
                 Key: CB-10761
                 URL: https://issues.apache.org/jira/browse/CB-10761
             Project: Apache Cordova
          Issue Type: Bug
          Components: CordovaLib
            Reporter: Richard B Knoll


If you give a plugin element in config.xml but do not give the {{spec}} 
attribute like so:
{code}
<plugin name="cordova-plugin-inappbrowser" />
{code}
Then when you run {{cordova prepare}} the CLI will not install the plugin but 
will print out a message saying that it is installing it.
{code}
$ cordova prepare
  Discovered plugin "cordova-plugin-inappbrowser" in config.xml. Installing to 
the project
{code}

Giving the {{spec}} attribute causes the same message but the plugin will 
actually be installed. I'm not sure what the intended behavior is, but we need 
to fix it and add some test cases.



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