We are happy to announce that we have just released
Cordova Android 11.0.0! This is one of Cordova's supported platforms for building Android applications.
cordova platform remove android cordova platform add firstname.lastname@example.org
cordova platform add email@example.com
Android 12 SplashScreen API Integration
As of Android 12, all Android 12 or higher devices display the new app launch animation. Google has applied this requirement to bring a standard design to all app launch screens.
Due to this requirement, users have seen and reported the display of multiple SplashScreens during the app launch. Since the new SplashScreen API can not be disabled, the old SplashScreen plugin is deprecated for Cordova-Android 11+.
We have integrated the Android 12 SplashScreen API including the compatibility library into the core of the Cordova-Android platform to provide support for Android API 22+.
For more information, please refer to the PR and Cordova Docs.
Tooling and Default Support Bump
- Target SDK (
- SDK Build Tool:
- Android Gradle Plugin (AGP):
- Google Services Gradle Plugin:
- AndroidX App Compat Library:
- AndroidX WebKit Library:
- AndroidX SplashScreen Core Library:
- Target SDK (
As of April 27, 2022, It appears Google has reversed its statement and declared that
ANDROID_HOMEis now the correct environment variable to set with the path of the SDK installation directory. It also notes that
ANDROID_SDK_ROOTthat also points to the SDK installation directory is deprecated.
Custom Compile SDK
We added back the ability to set a custom compileSdk value with the preference flag
<preference name="android-compileSdkVersion" value="31" />
Since Node 12 is no longer being supported by the Node.js team, we have dropped support for Node 12.
Please report any issues you find at issues.cordova.io!
- GH-1441 feat!: Android 12 splash screen
- GH-1427 feat!: API 32 support
- GH-1410 feat!: API 31 support
- GH-1444 fix!: set & use
- GH-1411 chore!: Drop Node 12 support
- GH-1448 feat: Update
- GH-1446 feat: Update gradle plugin version
- GH-1447 feat: Update google services pluging
- GH-1431 feat: support custom
- GH-1311 feat: added support for BoM imports
- GH-1455 fix(
- GH-1453 fix: support installing platfrom from local git checkout
- GH-1449 fix: accept file cookies only if
- GH-1443 fix: force
- GH-1434 fix: restore
- GH-1154 fix: move
MainActivity.javato folder that tracks the app package name (widget id)
Chores, Dependencies & CI:
- GH-1451 chore: display warning on deprecated
- GH-1430 chore: remove unneeded deprecated annotation
- GH-1421 chore(npm): bump
- GH-1420 chore(npm): bump dependencies
- GH-1452 dep: bump
- GH-1439 ci: update github action workflow
- GH-1424 ci: Added Node 18 to test matrix