You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For apps targeting **Android 16 (API level 36)** and higher using **Capacitor 8**, the following Status Bar configuration options **no longer work**:
15
+
16
+
-`overlaysWebView`
17
+
-`backgroundColor`
18
+
19
+
These options relied on the ability to opt out of Android’s **edge-to-edge** system UI behavior, which allowed apps to control how the status bar overlays and its background color.
20
+
21
+
In **Android 15 (API level 35)**, it was still possible to opt out of this enforced behavior by setting the `windowOptOutEdgeToEdgeEnforcement` property in the application layout file.
22
+
Without that property, the application assumed `overlaysWebView` as always `true`.
23
+
See more details in the Android documentation: [https://developer.android.com/reference/android/R.attr#windowOptOutEdgeToEdgeEnforcement](https://developer.android.com.reference/android/R.attr#windowOptOutEdgeToEdgeEnforcement)
24
+
25
+
Starting with **Android 16**, this opt-out is **no longer available**, and the behavior is enforced by the system.
26
+
As a result, the `overlaysWebView` and `backgroundColor` configuration options no longer have any effect.
27
+
12
28
## iOS Note
13
29
14
30
This plugin requires "View controller-based status bar appearance"
|**`overlaysWebView`**| <code>boolean</code> | Whether the statusbar is overlaid or not. For applications targeting Android 15, this property has no effect unless the property windowOptOutEdgeToEdgeEnforcement is added to the application layout file. Otherwise, the application assumes always overlays as true. More details in https://developer.android.com/reference/android/R.attr#windowOptOutEdgeToEdgeEnforcement| <code>true</code> | 1.0.0 |
63
-
|**`style`**| <code>string</code> | <ahref="#style">Style</a> of the text of the status bar. | <code>default</code> | 1.0.0 |
64
-
|**`backgroundColor`**| <code>string</code> | Color of the background of the statusbar in hex format, #RRGGBB. Doesn't work if `overlaysWebView` is true. | <code>#000000</code> | 1.0.0 |
|**`overlaysWebView`**| <code>boolean</code> | Whether the statusbar is overlaid or not. Not available on Android 15+. | <code>true</code> | 1.0.0 |
79
+
|**`style`**| <code>string</code> | <ahref="#style">Style</a> of the text of the status bar. | <code>default</code> | 1.0.0 |
80
+
|**`backgroundColor`**| <code>string</code> | Color of the background of the statusbar in hex format, #RRGGBB. Doesn't work if `overlaysWebView` is true. Not available on Android 15+.| <code>#000000</code> | 1.0.0 |
0 commit comments