apache / cordova-plugin-inappbrowser

Apache Cordova InAppBrowser Plugin
https://cordova.apache.org/
Apache License 2.0
1.12k stars 2.15k forks source link

StatusBar visible even after IAB with target _blank is closed (iOS ) #626

Open ashtt opened 4 years ago

ashtt commented 4 years ago

Bug Report

StatusBar visible even after IAB with target _blank is closed (iOS )

Problem

We were using IAB 3.0.0 but with iOS 13.3, we could not open the IAB window (target = _blank) To solve this, we upgraded to the latest version and the IAB window is opening now

However, after the IAB window is closed, the iOS status bar becomes visible in our main application. Although we have hidden it in our application.

Until version 3.0.0 it was hiding when the IAB was being closed.

What is expected to happen?

The StatusBar should disappear after the IAB window is closed.

What does actually happen?

The StatusBar is visible after the IAB window is closed. Although, the status bar disappears if we -

  1. display an alert message and click ok
  2. Rotate our iPad to change orientation

Information

Command or Code

Environment, Platform, Device

Version information

Checklist

NiklasMerz commented 4 years ago

InAppBrowser has a custom statusbar that should be removed in a future version. See #604

ashtt commented 4 years ago

Around what time/month or in which version should we expect this fix ?

sxi-uiteam commented 4 years ago

same here.

and one more thing is after IAB with target _blank is closed, the cordova-plugin-screen-orientation 's orientation.lock('portrait') does not work anymore.

  1. orientation.lock('portrait')
  2. open IAB, close IAB
  3. rotate device to landscape, and then the status bar rotates to landscape, but the webview remains in portrait. very weird.
jcesarmobile commented 4 years ago

NiklasMerz, they mean after closing IAB, so it's probably a statusbar plugin bug, not InAppBrowser plugin bug