You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2016/05/05 00:59:12 UTC
[jira] [Created] (CB-11205) Plugin Add does not respect variables
saved in config.xml
Richard B Knoll created CB-11205:
------------------------------------
Summary: Plugin Add does not respect variables saved in config.xml
Key: CB-11205
URL: https://issues.apache.org/jira/browse/CB-11205
Project: Apache Cordova
Issue Type: Bug
Components: CordovaLib
Reporter: Richard B Knoll
Priority: Minor
If a plugin with CLI variables is saved using {{--save}}, the variables will be saved into config.xml along with the plugin spec like so:
{code}
<plugin name="my-plugin" spec="1.2.0" >
<variable name="MY_VARIABLE" value ="my_variable_value" />
</plugin>
{code}
Cordova prepare will restore the plugin using the saved plugin spec and variable values. Plugin add will used the saved spec, but not the saved variable values. Plugin add should behave the same way as prepare.
--
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