Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12598

Plugins with --link --save and variables are NOT resolving vars from config.xml when reinstalled

    XMLWordPrintableJSON

Details

    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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            pke Philipp Kursawe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: