doc(readme): add deprecation notice - #296
GitToTheHub wants to merge 1 commit into
Conversation
- This plugin is deprecated since cordova-ios 8.0.0 and cordova-android 15.0.0. Functionality has moved to the platform cores. Also a Status Bar JavaScript API was introduced on these platforms to handle the status bar additionally. - Add links to the blog articles which mention the deprecation and the suggested changes.
|
If no one has any objections I would merge this. |
|
has been a vote for deprecating the plugin? As far as I know, the platform implementations are not total replacement of the plugins and I've seen community members recommending using the statusbar plugin for the cases not covered by the platform implementations. |
|
For me it looked like it is deprecated as also no more work is done one this plugin. Hiding the status is now fully functional on Android and iOS. Setting the dark/light appearance is also possible. Which functionality offers this plugin, which the core functionality does not offer? |
|
There are more plugins where no work or little work is done, that doesn't mean they are officially deprecated, for deprecating a plugin a vote thread is needed with 3 positive votes. Or at least that's how we have deprecated plugins in the past. I'm not sayin we shouldn't deprecate it, I'm saying we need to vote first. |
|
Ok didn't know. Than I will start a vote thread. |
Platforms affected
Android, iOS
Motivation and Context
Some things to note about the cores:
canEdgeToEdgecheck forexecutemethod cordova-android#1971). On iOS this is done automatically since iOS 18.5. For iOS older than 18.5 the PR #1689 (feat(statusbar): change dark/light appearance according to background color cordova-ios#1689) fixed that, but which is not released.<preference name="StatusBarOverlaysWebView" value="true" />in non-edge-to-edge mode, becauseStatusBarOverlaysWebViewis not supported by the cores. PR #1991 on cordova-android (fix(statusbar): restoreStatusBarOverlaysWebViewsupport in non-edge-to-edge mode cordova-android#1991) adds the functionality back to Android, but @dpogue mentioned, that this should be done by<meta name="viewport" content="viewport-fit=cover|contain">by a MutationObserver in JavaScript. On iOS this behaviour can already be obtained by using<meta name="viewport" content="viewport-fit=cover“>. @dpogue opened a PR #2010 on cordova-android (WIP on theme-color/viewport-fit cordova-android#2010) which would resolve this.Description
Testing
Checklist
(platform)if this change only applies to one platform (e.g.(android))