Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
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.