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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: cordova@8.0.0
    • Fix Version/s: None
    • Component/s: cordova-cli
    • Labels:
      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

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

              Dates

              • Created:
                Updated: