We are happy to announce that we have just released Cordova Android 12.0.0
! This is one of Cordova's supported platforms for building Android applications.
To upgrade:
cordova platform remove android cordova platform add android@12.0.0
To install:
cordova platform add android@12.0.0
BREAKING CHANGES:
Increased Minimum & Target SDK
This release has increased the minimum supported SDK version to 24 which is Android 7.0. It also has increased the target SDK to 33, Android 13.
Build Tools
To use cordova-android@12
, SDK Platform 33
and SDK Build Tools 33.0.2
must be installed. Older build tools version can be uninstalled if older versions of cordova-android is no longer used in your projects.
To install SDK Platform 33:
SDK Platforms
tabAndroid 13.0 (Tiramisu)
which has the API Level
of 33
Apply
To install SDK Build Tools 33.0.2:
SDK Tools
tabShow Package Details
Android SDK Build-Tools
33.0.2
Apply
Project Dependencies
The following project dependencies were bumpped:
1.7.21
7.6
7.4.2
4.3.15
1.6.1
1.6.0
1.0.0
If you or a plugin has made changes to any of the following configuration preferences, the build results might not match the expected outcomes with this release:
android-minSdkVersion
android-maxSdkVersion
android-targetSdkVersion
android-compileSdkVersion
android-buildToolsVersion
GradleVersion
AndroidGradlePluginVersion
GradlePluginKotlinVersion
AndroidXAppCompatVersion
AndroidXWebKitVersion
GradlePluginGoogleServicesVersion
Please take note of the versions that have been updated in this release. If you have manually modified any of these values, it is recommended to review and update the preference values accordingly.
Node Support
We have dropped support for Node 14.x and increase the minimum Node requirement to greater than or equal to 16.13.0.
New Features:
Monochrome Support
Android 13 has added Themed Icons support which is also known as Monochrome. This release has introduced support for Themed icons.
Please report any issues you find on our Cordova-Android GitHub issue tracker!
Breaking:
CoreAndroid
plugin instantiate on load>=16.13.0
CoreAndroid.getBuildConfigValue
package-lock
cordova-common@5.0.0
Features:
listTarget
apiWebViewClient.onRenderProcessGone
kotlin
to version 1.7.21monochrome
app icon supportInspectableWebview
preferenceandroidx.appcompat.appcompat
1.6.1androidx.webkit.webkit
1.6.0com.google.gms.google-services
4.3.15androidx.core.core-splashscreen
1.0.0Fixes:
BuildHelper
): get package name from ApplicationInfo
ANDROID_HOME
is the new default, to check first and give advicecontent
src
when content tag is missingFadeSplashScreen
is trueAppCompat
for MavenWindowSplashScreenBrandingImage
cordova-plugin-splashscreen
Chores, Refactor, Dependencies & CI:
lint:fix
script for fixing lint errorsHandler
constructorfs-extra@11.1.1
nopt@7.1.0
@cordova/eslint-config@5.0.0
jasmine@4.6.0
codecov/codecov-action@v3
codecov/codecov-action
reporting format