JordinKee opened a new issue, #592:
URL: https://github.com/apache/cordova/issues/592

   # Bug Report
   
   According to the blog post of the Cordova Android 15.0.0 release, the 
StatusBar plugin has become redundant since its functionality is integrated in 
Cordova Android. However, I'm getting different results between using the 
StatusBar plugin or the integrated functionality.
   
   ## Problem
   
   Scenario A:
   - Add StatusBar plugin
   - Inside the device ready event, call: `StatusBar.hide();`
   - Result: the statusbar completely disappears and the webapp content fills 
the freed-up space. When the user slides down from the top, the status bar 
appears (over the content) with a translucent background and after a short 
while, disappears again.
   
   Scenario B:
   - Remove StatusBar plugin
   - Inside the device ready event, call: `window.statusbar.visible = false;`
   - Result: the background of the statusbar becomes transparent, but the 
content of the statusbar is still visible (clock, connectivity, battery and 
such). The webapp content fills the freed-up space, but now overlaps with the 
remaining statusbar content. When the user slides down from the top, nothing 
happens. There's no way to make the statusbar content disappear.
   
   ### What is expected to happen?
   The result of scenario A is what I would expect and prefer to happen.
   
   ### What does actually happen?
   The result of scenario B.
   
   ## Information
   Both scenarios have AndroidEdgeToEdge not set in the config.xml (defaults to 
false).
   
   ### Command
   cordova run android
   
   ### Environment, Platform, Device
   I've tested this on a Pixel 3a running Android 12 and a Pixel 8 running 
Android 15.
   Btw, the latter has a camera notch and I was happy to see the content of the 
webapp staying within the safe zone.
   
   
   ### Version information
   - Cordova CLI 13.0.0
   - Cordova Android 15.0.0
   - cordova-plugin-statusbar 4.0.0
   
   
   ## Checklist
   <!-- Please check the boxes by putting an x in the [ ] like so: [x] -->
   
   - [x] I searched for existing GitHub issues
   - [x] I updated all Cordova tooling to most recent version
   - [x] I included all the necessary information above
   


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