breautek commented on issue #1967:
URL: 
https://github.com/apache/cordova-android/issues/1967#issuecomment-4886492664

   Notwithstanding the bug present 15.0.0 (you can test against github's master 
branch for the fix) -- using cordova-android@15 with `AndroidEdge2Edge` 
preference enabled is effectively what you're already asking I think.
   
   While in this mode:
   - The `window.statusbar` API is still present but it is a no-op.
   - Cordova makes no status bar view -- there is simply the system bar.
   - The webview is rendered full screen, and will overlay underneath system 
bars.
   - Safe area insets can be used to pad or offset your content to clear system 
bars and other screen obstacles. It's my understanding this will require a 
fairly recent webview version installed on the device. Alternatively a plugin 
that reports the safe area insets sourced from the native views can be used, 
which is similar to what your status bar fork is already doing.
   
   If you're still using cordova-plugin-statusbar -- the plugin will still 
initialize and control the status bar to some degree. The plugin still offers 
features that is not available in the "core" statusbar implementation.
   
   > Notwithstanding the bug present 15.0.0
   
   on 15.0.0 there is a bug where the webview is not positioned properly 
resulting in a white bar appearing in the status bar area, which is fixed but 
pending release at the time of writing. So for testing purposes, it's worth to 
install the platform directly from github.
   
   Can you let me know where the gaps are?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to