Rejected by Google App Store


#1

Hello,
I recently reached out to google play support and they sent me this message:

Hi,
Thanks for contacting Google Play Developer Support. I understand you have some questions about the Apache Cordova security vulnerability.

I see that version 39 of your app is currently using the following vulnerable implementation of Apache Cordova:

assets.www.lib.phonegap.lib.android.cordova.js

assets.www.lib.phonegap.lib.android.example.assets.www.cordova.js

assets.www.lib.phonegap.lib.android.framework.assets.www.cordova.js

assets.www.lib.phonegap.lib.blackberry.bbos.example.lib.cordova.2.9.0.javascript.cordova.js

assets.www.lib.phonegap.lib.blackberry.bbos.example.www.cordova.js

assets.www.lib.phonegap.lib.ios.CordovaLib.cordova.js

assets.www.lib.phonegap.lib.windows-phone.common.www.cordova.js

assets.www.lib.phonegap.lib.windows.windows8.cordova.js

assets.www.lib.phonegap.lib.windows.windows8.template.www.cordova.js

You’ll need to upgrade your app to use Apache Cordova v.4.1.1 or higher. New apps or updates containing older versions of Apache Cordova will be blocked.

I already updated to the latest version of cordova via npm and upon resubmitting it still got rejected.


#2

Even if you have updated Cordova to latest but project may still have older version. To verify it jsut extract cordova.js file from APK and open it any editor and verify PLATFORM_VERSION_BUILD_LABEL value inside that file.
I have faced the same problem earlier but after updating my project to use latest build of cordova the error has been resolved


#3

thanks for the reply which folder can I find the cordova.js file from the compiled apk?


#4

cordova.js file is located in asset/www/ folder of the compiled APK


#5

I opened the file and cannot find the PLATFORM_VERSION_BUILD_LABEL instead I have CORDOVA_JS_BUILD_LABEL = ‘2.9.1’ how do you update this?


#6

refer following link

http://ionicframework.com/docs/v1/ionic-cli-faq/#cordova-updates

or Remove and add platform again


#7

It does not get updated upon generating the apk file.


#8

Try creating a new project and check if it reflecting newer version or not


#9

i think i figured it out I must be using an outdated plugin


#10

Please post your ionic info output. It will show the version you are using.