Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
6.4.0
Description
1. cordova plugin add localplugin --link --save --variable VAR1=VALUE1
2. This creates an entry in config.xml for the plugin with the variable
3. It also creates an entry in plugins/fetch.json with the variable
4. cordova plugin rm localplugin
5. This does not remove the plugin from the config.xml
6. cordova plugin add localplugin --link
7. CLI complains about missing variable definition
The CLI should take the variable from the config.xml if the plugin has been installed before.