-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BREAKING: remove RequiresApi and drop support for API 19 #540
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You also have to remove the TargetApi import (https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/src/android/com/ionicframework/cordova/webview/IonicWebViewEngine.java#L7)
TargetApi usage
https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/src/android/com/ionicframework/cordova/webview/IonicWebViewEngine.java#L128-L132
and the annotation library from plugin.xml
https://github.com/ionic-team/cordova-plugin-ionic-webview/blob/master/plugin.xml#L55-L56
And since this is breaking, we might want to do a minor release before merging this
# [5.0.0](v4.2.1...v5.0.0) (2020-05-27) ### Features * **android:** remove RequiresApi annotation and drop support for API 19 ([#540](#540)) ([17d2ada](17d2ada)) * **ios:** remove normalizeURL function ([#576](#576)) ([d5bdbaa](d5bdbaa)) * **ios:** remove wkRewriteURL function ([#577](#577)) ([02c18ea](02c18ea)) ### BREAKING CHANGES * **ios:** wkRewriteURL was deprecated and has been removed, use window.Ionic.WebView.convertFileSrc instead * **ios:** normalizeURL was deprecated and has been removed, use window.Ionic.WebView.convertFileSrc instead * **android:** Drop Android 4.4 support (SDK API level 19). Min required is 21.
🎉 This PR is included in version 5.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
… 19 (ionic-team#540) BREAKING CHANGE: Drop Android 4.4 support (SDK API level 19). Min required is 21. (cherry picked from commit 17d2ada)
This PR drops support for API 19 and adds support for API 29 and can be merged after cordova-android 9 is released.