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

Cordova platform add inconsistency between config.xml and package.json

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • cordova@8.0.0
    • None
    • cordova-cli
    • None

    Description

      I had save-prefix='^' for npm, but cordova platform add platformName was saved with ^ in package.json, but with ~ in config.xml

      Both of them should use the save-prefix preference

      cordova plugin add works as expected, it uses the same on both package.json and config.xml respecting the save-prefix preference

      Attachments

        Activity

          People

            Unassigned Unassigned
            jcesarmobile jcesarmobile
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: