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

Updating to cordovaLib 5.4.0 breaks ios installed plugins

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 5.4.1
    • cordova-lib
    • None

    Description

      cordova_plugins.js doesn't get created for ios when updating from an older cli to a newer cli.

      Have to remove and add plugins manually to get plugins working again.

      Reproduce (need to use npm < 3):
      npm install -g cordova@5.3.3
      cordova create helloWorld
      cd helloWorld
      cordova platform add ios
      cordova plugin add cordova-plugin-device
      cordova prepare (helloWorld/platforms/ios/www/cordova_plugins.js is created)

      npm install -g cordova@5.4.0
      cordova prepare (helloWorld/platforms/ios/www/cordova_plugins.js doesn't exist)

      `helloWorld/platforms/ios/ios.json` is also incorrect in the updated version.

      Attachments

        Issue Links

          Activity

            People

              vladimir.kotikov Vladimir Kotikov
              stevegill Steve Gill
              Votes:
              4 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: