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

[--fetch] adding platforms/plugins via localpath should go through cordova-fetch

    XMLWordPrintableJSON

Details

    Description

      cordova plugin add localPath --save --fetch

      • currently, doesn’t add this to `package.json`
      • in config.xml, adds `<plugin name="cordova-plugin-geolocation" spec="../../cordova-plugin-geolocation" />`
      • `npm install localpath —save` adds `"cordova-plugin-geolocation": "file:///Users/steveng/repo/cordova/cordova-plugin-geolocation”` in `package.json`

      Need to make local paths go through fetch so they get saved in package.json too.

      Attachments

        Activity

          People

            auso Audrey So
            stevegill Steve Gill
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: