Dobrin Dobrev
Dobrin Dobrev

Reputation: 11

Cordova-android platform and Google Play's target API level 33 update

I am developing a Sencha ExtJS application which have Android app version. I faced the problem to have to support Google Play target API level 33. Now the Cordova CLI is v10, Cordova-android platform is version 9, and the targetSdkVersion is 31. Can i only change targetSdkVersion, or have to update Cordova, Cordova-android platform to v11 or v12? In that case wouldn't I have to change the version of Cordova or Node.js as well? I would be grateful if someone could share what the versions of the whole stack are - node.js, cordova, cordova-android, gradle, etc. Тhanks in advance :)

Upvotes: 1

Views: 8252

Answers (2)

Binuka Kamesh
Binuka Kamesh

Reputation: 23

Even though Cordova's official requirement for the targetSdkVersion: 33 (Android API-Level) is cordova-android Version: 12.0.x,

I was able to upgrade the targetSdkVersion and compileSdkVersion from 31 to 33 without any issues. My Cordova CLI is v10.1 and the Cordova-android platform is version 9.1.0.

I tested my application and it works really well. I pushed the update to the Play Store as well.

Thank You.

Upvotes: 0

ivanolarocca
ivanolarocca

Reputation: 21

According to cordova official documentations and recent blog post to target Android API-Level 33 cordova-android version 12 is required and Node minimum version is 16.13.0.

Complete minimim requirements to target Android API-Level 33 are:

  • cordova: 12.0.0
  • cordova-android: 12.0.x
  • Nodejs: 16.13.0
  • Build Tools: ^33.0.2
  • Kotlin: 1.7.21
  • Gradle: 7.6
  • Android Gradle Plugin: 7.4.2
  • AndroidX Compat Library: 1.6.1
  • AndroidX WebKit Library: 1.6.0
  • AndroidX Core SplashScreen: 1.0.0
  • Google Services Gradle Plugin: 4.3.15

Upvotes: 2

Related Questions