apache / cordova-plugin-inappbrowser

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

InAppBrowser 5.0.0 BUG - Does Not Display Correctly in iOS - location bar transparent and safe-area-inset not respected #901

Open codeconsole opened 2 years ago

codeconsole commented 2 years ago

InAppBrowser 5.0.0 BUG - Does Not Display Correctly in iOS - location bar transparent and safe-area-inset not respected

*** EXAMPLE APP PROVIDED TO REPLICATE ISSUE IN 15 SECONDS https://github.com/codeconsole/inappbrowsertest

Problem

What is expected to happen?

toolbarcolor and toolbartranslucent should either set location bar properties or new properties should be added to prevent the location bar from being transparent.

This is how viewing a webpage looks in Safari and how it should work Portrait Portrait

What does actually happen?

location bar is transparent and not readable and can not e set Portrait Orientaion does not respect safe-area-inset-top and safe-area-inset-bottom Portrait Landscape Orientaion does not respect safe-area-inset-left and safe-area-inset-right Landscape

Information

https://github.com/codeconsole/inappbrowsertest

Command or Code

git clone https://github.com/codeconsole/inappbrowsertest
cd inappbrowsertest
cordova prepare
cordova run ios

Environment, Platform, Device

% xcrun xctrace list devices|grep '12 Pro Max'
iPhone 12 Pro Max (14.5) (E6A9885C-F212-45C4-9FC3-09B5BD9DB82B)

Version information

% cordova -v
10.0.0
% cordova plugin ls
cordova-plugin-inappbrowser 5.0.0 "InAppBrowser"
cordova-plugin-whitelist 1.3.5 "Whitelist"
% cordova platform ls
Installed platforms:
  ios 6.2.0
Available platforms: 
  android ^9.0.0
  browser ^6.0.0
  electron ^1.0.0
  osx ^6.0.0
Saqib92 commented 2 years ago

any update on landscape mode??

JornHermans commented 2 years ago

Is there an update on this issue?

qwertychouskie commented 3 months ago

Still present in 6.0.0. This makes this plugin unusable for us on iOS.