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