This is an automated email from the ASF dual-hosted git repository.
GitToTheHub pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cordova-android.git
The following commit(s) were added to refs/heads/master by this push:
new c4d7f8a8 doc(statusbar.js): behaviour of `setBackgroundColor` when
`AndroidEdgeToEdge` is set, added minimum cordova-android version for full CSS
color formats support (#1994)
c4d7f8a8 is described below
commit c4d7f8a818b18e4e4a8dee6f2b13bd61707ede18
Author: Manuel Beck <[email protected]>
AuthorDate: Wed Sep 9 13:45:07 2026 +0200
doc(statusbar.js): behaviour of `setBackgroundColor` when
`AndroidEdgeToEdge` is set, added minimum cordova-android version for full CSS
color formats support (#1994)
- On Android, when the preference `AndroidEdgeToEdge` is `true`, this may
not produce a visible status bar background fill, but can still be used to set
the light/dark status bar appearance.
- Added note: Runtime support for all valid CSS color formats is fully
functional since cordova-android 15.1.0.
---
cordova-js-src/plugin/android/statusbar.js | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/cordova-js-src/plugin/android/statusbar.js
b/cordova-js-src/plugin/android/statusbar.js
index d7d07e03..f8ffbace 100644
--- a/cordova-js-src/plugin/android/statusbar.js
+++ b/cordova-js-src/plugin/android/statusbar.js
@@ -61,6 +61,13 @@ Object.defineProperty(statusBar, 'visible', {
* Sets the background color of the visible status bar.
* Supports valid CSS color values, e.g. `rebeccapurple`, `#RRGGBBAA`,
`rgb(255 0 153)`.
*
+ * On Android, when the preference `AndroidEdgeToEdge` is `true`, this may not
produce
+ * a visible status bar background fill, but can still be used to set the
+ * light/dark status bar appearance.
+ *
+ * Note: Runtime support for all valid CSS color formats is fully functional
since
+ * cordova-android 15.1.0.
+ *
* If cordova-plugin-statusbar is installed, calls are forwarded to the plugin
API:
* `window.StatusBar.backgroundColorByHexString`
* See {@link https://s.apache.org/cdv-plugin-statusbar} for
cordova-plugin-statusbar details.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]