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

Cordova@7 saves wrong spec in config.xml for git plugins

    XMLWordPrintableJSON

Details

    Description

      (This possibly existed in earlier versions, I never used on the --save flag so I'm not sure...)

      cordova plugin add cordova-plugin-ayogo-push@AyogoHealth/cordova-plugin-push
      

      It saves the github repo properly into package.json, but in config.xml it sets the spec to the version number. This will fail to restore (from config.xml) because the plugin isn't published to the npm registry.

      Attachments

        Issue Links

          Activity

            People

              auso Audrey So
              dpogue Darryl Pogue
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: