apache / cordova-plugin-statusbar

Apache Cordova Status Bar Plugin
https://cordova.apache.org/
Apache License 2.0
618 stars 480 forks source link

iOS - HTML video player full screen causes web view overlay issues #221

Closed famousglasses closed 1 year ago

famousglasses commented 2 years ago

iPhone Xr iOS 14.6

When using the status bar plugin with overlaysWebView(false), I am noticing that using the native html video player in full screen mode will at times cause a reverting of the overlaysWebView property.

Note: after this error occurs, it can be fixed during runtime by executing this code -- overlaysWebView(true); overlaysWebView(false);

Scenario A - Steps to reproduce:

  1. Setup app to use overlaysWebView(false)
  2. With page containing video player, use the player controls to toggle full screen mode
  3. Rotate device to trigger landscape mode
  4. Rotate device to trigger portrait mode
  5. Close the player using the "X" icon near the top left of the screen
  6. Status bar now overlays web view

Scenario B - Steps to reproduce:

  1. Setup app to use overlaysWebView(false)
  2. With page containing video player, use the player controls to toggle full screen mode
  3. Close video player by swiping down on the screen
  4. Status bar now overlays web view

Before error occurs: example1

After error occurs: example2

jcesarmobile commented 1 year ago

Can you try with latest version of the plugin? I think it was fixed long ago but not released until the 3.0.0 version

jcesarmobile commented 1 year ago

Closing since there was no response