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

Updating to cordovaLib 5.4.0 breaks ios installed plugins

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.1
    • Component/s: cordova-lib
    • Labels:
      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

              • Assignee:
                vladimir.kotikov Vladimir Kotikov
                Reporter:
                stevegill Steve Gill
              • Votes:
                4 Vote for this issue
                Watchers:
                10 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: