From 13a016e481a97f0097a6697180bb8e164e995576 Mon Sep 17 00:00:00 2001 From: Manuel Beck Date: Thu, 21 May 2026 12:34:19 +0200 Subject: [PATCH 1/6] feat(android): add `StatusBarBackgroundColor` preference to `config.xml`, update `BackgroundColor` regarding Android - `StatusBarBackgroundColor` is handled since cordova-android 15, which is reused from cordova-plugin-statusbar. When`AndroidEdgeToEdge` is `true`, this preference may not produce a visible status bar background fill, but it can still influence status bar icon/text light-versus-dark appearance. - Add prefernce example of`StatusBarBackgroundColor` - Update documentation of `BackgroundColor` that on Android if `StatusBarBackgroundColor` is not set, this value is also used for the status bar. Depending on the Android OS version, this preference may also change the navigation/gesture bar. Edge case: if the value is invalid, Cordova ignores it and falls back to platform defaults/fallback colors. - Add note to AndroidEdgeToEdge, that when it set the built-in StatusBar JavaScript API methods (such as `window.statusbar.setBackgroundColor`) are not applied. - Generated-By: GPT-5.3-Codex --- www/docs/en/latest/config_ref/index.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/www/docs/en/latest/config_ref/index.md b/www/docs/en/latest/config_ref/index.md index 25e5d95035..5f6a3a598d 100644 --- a/www/docs/en/latest/config_ref/index.md +++ b/www/docs/en/latest/config_ref/index.md @@ -316,7 +316,7 @@ Attributes | Description ----------------- | ------------ AllowInlineMediaPlayback
{% cdv_vartype boolean %} {% cdv_platform ios %} | *Default: false*
Set to true to allow HTML5 media playback to appear inline within the screen layout, using browser-supplied controls rather than native controls. For this to work, add the ```playsinline``` attribute to any ```