Phonegap Build how to change the version of the cord

0

When I published my application on google play, it was rejected, the reason was this:

  

Security Alert   We would like to inform you that your app was created in a version of Apache Cordova that contains security vulnerabilities. It is necessary to migrate the app to version 3.5.1 or later of Apache Cordova as soon as possible. As of 08/31/2015, Google Play will block the posting of new apps and updates that use versions of Apache Cordova earlier than 3.5.1.

I wonder if it's possible to change my version of Cordova, or what I could do to fix this problem.

    
asked by anonymous 15.10.2015 / 15:01

2 answers

1

Yes, just update the version of your Cordova. In fact you're using Phonegap right? I recommend you create your projects via the command line, in my opinion is better. Install Node.js and then just run this command:

npm install -g phonegap

For more details you can see the documentation here: link

After doing this process just copy your files to the new folder.

    
15.10.2015 / 19:21
0

I would advise that in addition to installing the phonegap you also install npm install -g cordova if you are doing local build.

    
15.10.2015 / 19:54