GitHub user NityaSantosh26 created a discussion: Cordova Android 15: StatusBar 
plugin deprecation, overlay behavior, back button & keyboard resize issues

<!------------^ Click "Preview" for a nicer view! -->

After upgrading to [email protected], I have a few questions and issues 
regarding recent platform changes, especially around status bar handling and 
layout behavior.

---
1. **StatusBar plugin deprecation / replacement**
> As mentioned in the official announcement, the status bar plugin is no longer 
> required and functionality is now built into the platform.
> Does this mean cordova-plugin-statusbar should be completely removed in all 
> cases?
> Is window.statusbar expected to work without the plugin, or is there a new 
> API surface?
> Additionally, some functionality previously available via the plugin (e.g. 
> text color, overlays, styling) does not seem to have a clear replacement yet.

2. **StatusBarOverlaysWebView preference**
> Previously, we relied on:
> `<preference name="StatusBarOverlaysWebView" value="true/false" />`
> What is the equivalent behavior in Cordova Android 15?
> Is this now controlled via AndroidEdgeToEdge or another preference?
> If the plugin is removed, is this preference ignored?

3. **Mixing plugin + new platform behavior**
> If we continue using cordova-plugin-statusbar alongside the new built-in 
> handling:
> 
> Are there known conflicts?
> Is this combination officially supported or discouraged?
> My Observation: window.statusbar.setBackgroundColor doesn't set the color

4. **Android back button behavior**

> Regarding issue:
> https://github.com/apache/cordova-android/issues/1904
> 
> Should we apply the suggested workaround?
> Or is a fix planned in an upcoming release?

5. **Keyboard no longer resizing WebView**

> After upgrading to Cordova Android 15:
> 
> When the keyboard opens, the WebView no longer resizes (it overlaps content)
> This was working correctly in previous versions
> 
> Questions:
> Is this expected behavior due to edge-to-edge changes?
> Is there a recommended configuration or fix?

---
Would appreciate clarification and guidance.
Thanks


GitHub link: https://github.com/apache/cordova/discussions/585

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to