GitHub user breautek added a comment to the discussion: Cordova Android 15: 
StatusBar plugin deprecation, overlay behavior, back button & keyboard resize 
issues

> StatusBarOverlaysWebView preference

I believe Android's EdgeToEdge effectively makes this behaviour fixed to 
"enabled", that is the statusbar is overlaid on top of the app content (that is 
the webview). Apps must use CSS 
[safe-area-inset-*](https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Values/env)
 variables to ensure readable or interactive content is padded to clear the 
statusbar or other potential obstacles the device might have.

> StatusBar plugin deprecation / replacement

If you support the iOS platform, I believe cordova-ios@8 implements the status 
bar API at the core, like Android, making the plugin completely obsolete, with 
the caveat noted above regarding `StatusBarOverlaysWebView` for android. I'm 
not sure if iOS has the same caveat.

> Mixing plugin + new platform behavior

This wouldn't be a supported configuration and probably won't work, or will run 
into state conflicts.

> Android back button behavior

Fixes are planned but are subjected to volunteer time.

> Keyboard no longer resizing WebView

Are you sure this is a behaviour change? Can this behaviour be observed using 
the basic "Hello World" cordova template app? I've been using Cordova for about 
a decade now and I feel like the keyboard has never resized the webview by 
default and testing against one of my apps still using cordova-android@14 I'm 
seeing the webview not being resized when the keyboard is opened.

There is no cordova preference that is available to adjust the behaviour, but I 
think that behaviour is configurable natively via AndroidManifest.xml, which 
you might have a hook or `<edit-config>` directive or something that 
manipulates -- perhaps the selector is no longer working.

If it's demonstrable that the behaviour changed in the basic template app 
between cordova-android@14 and @15, then this could be an issue to be reported 
on cordova-android repo. 

GitHub link: 
https://github.com/apache/cordova/discussions/585#discussioncomment-16570963

----
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