Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
3.3.0
-
None
-
None
Description
I tried updating my cordova project today to 3.3.0.
I followed the instructions here:
http://cordova.apache.org/docs/en/3.3.0/guide_cli_index.md.html#The%20Command-Line%20Interface_updating_cordova_and_your_project
This did not update cordova.js in all the locations in my project. For iOS projects, cordova.js lives in three separate locations:
1. /platforms/ios/CordovaLib/cordova.js
2. /platforms/ios/www/cordova.js
3. /platforms/ios/platform_www/cordova.js
When I upgraded my project, only cordova.js in locations 1 & 2 were updated. 3. was not.
Unfortunately, that meant next time I built my project with `cordova build ios`, the cordova.js in location '2' was clobbered with the version from location '3'.
The same thing appears to happen on Android too.