This is an automated email from the ASF dual-hosted git repository.

GitToTheHub pushed a commit to branch 
pr-doc-statusbar.js-setBackgroundColor-AndroidEdgeToEdge
in repository https://gitbox.apache.org/repos/asf/cordova-android.git

commit 2cbad0eb1e32c15b4d10d958e5bf923d513a1689
Author: Manuel Beck <[email protected]>
AuthorDate: Sat Aug 8 14:44:51 2026 +0200

    doc(statusbar.js): behaviour of `setBackgroundColor` when 
`AndroidEdgeToEdge` is set, added minimum cordova-android version for full CSS 
color formats support
    
    - 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]

Reply via email to