Changing the Cordova version used by Hybrid Apps in Visual Studio 2013

Updating the Cordova version requires you to edit the platforms.js file found in:

%APPDATA%\Roaming\npm\node_modules\vs-mda\node_modules\cordova\node_modules\cord‌​ova-lib\src\cordova

You can change the version individually for each platform, tho I suggest you use the same version for all.
Also, it might be the case you’re looking to update only because of the Google Play warning regarding the high severity cross-application scripting (XAS) vulnerability found in Cordova 3.5.0. If so here you have the file updated to point to version 3.5.1 which fixes the mentioned vulnerability: platforms.js.

Note: In case you are using CTP 1 of the Hybrid Apps the path will be different:
%APPDATA%\npm\node_modules\vs-mda\node_modules\cordova\




No Comments


You can leave the first : )



Leave a Reply

Your email address will not be published. Required fields are marked *

Are you a human? * Time limit is exhausted. Please reload the CAPTCHA.