We are happy to announce that we have just released Cordova Android 13.0.0! This is one of Cordova's supported platforms for building Android applications.
To upgrade:
cordova platform remove android cordova platform add android@13.0.0
To install:
cordova platform add android@13.0.0
Increased Target SDK
This release has increased the target SDK to 34 (Android 14).
Increased Android Studio Requirement
Android Studio Jellyfish is required if building and running from Android Studio.
Required Build Tools
To use cordova-android@13, SDK Platform 34 and SDK Build Tools 34.0.0 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 34:
SDK Platforms tabAndroid 14.0 ("UpsideDownCake") which has the API Level of 34ApplyTo install SDK Build Tools 34.0.0:
SDK Tools tabShow Package DetailsAndroid SDK Build-Tools34.0.0ApplyProject Dependencies
The following project dependencies were bumpped:
1.9.248.78.3.0If 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:
| Preference | Default Value | 
|---|---|
android-minSdkVersion | 24 | 
android-maxSdkVersion | Not set | 
android-targetSdkVersion | 34 | 
android-compileSdkVersion | android-targetSdkVersion configured value | 
android-buildToolsVersion | 34.0.0 | 
GradleVersion | 8.7 | 
AndroidGradlePluginVersion | 8.3.0 | 
GradlePluginKotlinVersion | 1.9.24 | 
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.
Increased Java Requirement
The Java Development Kit (JDK) requirement has been increased to version 17 due to the new versions of dependencies and tooling previously described.
Removed kotlin-android-extensions
kotlin-android-extensions will no longer be checked out when kotlin is greater than or equal to version 1.8.0.
Added SplashScreenBackgroundColor Preference Support
Added support for a general preference to be consistent across platforms for setting the splash screen background color.
The following order of priority is applied when it comes to the Cordova Android platform:
AndroidWindowSplashScreenBackground preferenceSplashScreenBackgroundColor preferenceBackgroundColor preference#ffffff hardcodedAdd Camera Intent Support for File Input Capture
Allows user to access and use the camera when the HTML file input tag contains the capture flag.
Example:
<input type="file" capture />
Added ResolveServiceWorkerRequests Preference Support
Added a preference that makes it possible for service worker requests to go through the asset loader. By default this is enabled.
This can be disabled with the following preference.
<preference name="ResolveServiceWorkerRequests" value="false" />
Please report any issues you find on our Cordova-android GitHub issue tracker!
Breaking Changes:
kotlin@1.9.24 & drop kotlin-android-extensions when kotlin >=1.8.0Features:
SplashScreenBackgroundColor preferenceResolveServiceWorkerRequests preferenceChores, Dependencies & CI:
@babel/traverse from 7.22.10 to 7.23.2semver@7.6.2rewire@7.0.0nopt@7.2.1jasmine@5.1.0fs-extra@11.2.0fast-glob@3.3.2dedent@1.5.3@cordova/eslint-config@5.1.0which@4.0.0properties-parser@0.6.0android-versions@2.0.0codecov@v4 w/ token