We are happy to announce that we have just released Cordova Android 9.1.0! This is one of Cordova's supported platforms for building Android mobile applications.
To upgrade:
cordova platform remove android cordova platform add android@9.1.0
In this minor release, there are various refactoring and bug fixes. Additionally, there were a few new features.
Some of the new feature highlights are:
Added Custom Gradle Repositories Support
Sometimes there are third-party libraries that do not exist in the repositories that we have defined. With this feature, developers now have an easier way to override the default repository list that we have defined in the Gradle build scripts.
Additionally, as JFrog is sunsetting the JCenter repository, developers can remove it, at their own risk. Since this a minor release, we have not removed JCenter as one of the default repositories as it would be considered a breaking change.
Support webp Images for SplashScreen
Previously we only supported png file formats for splash screens as webp support was only introduced starting from API 17. Since cordova-android@9.x minimum SDK version was raised to 22, the introduction of webp support became possible.
webp file formats are known to support transparency and provide the same or similar quality as png files, but its greatest benefit is that it can reduce the image file size by around 25%.
Please report any issues you find at issues.cordova.io!
Features:
gzip encoding requests & use GZIPInputStreamintent:// scheme links with browser_fallback_url paramrepositories supportwebp support for splashscreendevices and emulators in one goFixes:
repositories.gradle to project on createmapImageResources always returning []pluginHandlers): properly check if path is inside anotherRefactors:
ProjectBuilder): clean up output file collection codecheck_reqs): cleanup default Java location detection on WindowsProjectBuilder instance in Api instanceemulator.installChores:
no-op field "engineStrict"emulator.create_image and its dependenciesTests & CI:
pluginHandlers/common): better setup & teardownBackButtonMultipageTest