Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

inappbrowser with option usewkwebview=yes does not support iPhone x screen #437

Closed
3 tasks done
mosabab opened this issue Mar 2, 2019 · 3 comments
Closed
3 tasks done

Comments

@mosabab
Copy link
Contributor

mosabab commented Mar 2, 2019

Bug Report

Problem

inappbrowser with option usewkwebview=yes does not support iPhone x screen

untitled-1

What is expected to happen?

Inappbrowser should appear correctly in iphone x devices when the device is in portrait mode or in landscape mode if you set usewkwebview=yes.
(Inappbrowser should work and appear as Safari, with safe margins).

What does actually happen?

If you try to open an app with inappbrowser using iphone x device using option usewkwebview=yes, then you will notice a problem in the top of screen, because, inappbrowser with usewkwebview=yes not updated to fit iphone x screen device until now.

In portrait mode: Inappbrowser upper side will conflict with status bar and distort the style.
In Landscape mode: the content of the page in the left section will be hidden , and the status bar will be in grey color, status bar in safari landscape not appear.

Inappbrowser option: location=no, usewkwebview=yes

( Please note that most companies start making their phones screen to be edge to edge with full margins ).

The problem description in full details in the following pictures.

Information

test
test2

Command or Code

cordova.InAppBrowser.open('https://www.google.com', '_blank', 'location=no,usewkwebview=yes')

set yes to option usewkwebview.

Environment, Platform, Device

iPhone x with latest 12.1.4 ios

Version information

cordova cli 9
cordova-plugin-inappbrowser master version

Checklist

  • I searched for existing GitHub issues
  • I updated all Cordova tooling to most recent version
  • I included all the necessary information above
@mosabab mosabab changed the title inappbrowser not support iPhone X devices inappbrowser not support iPhone X screen Mar 2, 2019
@mosabab mosabab changed the title inappbrowser not support iPhone X screen inappbrowser not support iPhone x screen Mar 2, 2019
@mosabab mosabab changed the title inappbrowser not support iPhone x screen inappbrowser does not support iPhone x screen Mar 2, 2019
@mosabab mosabab closed this as completed Mar 4, 2019
@mosabab mosabab reopened this Mar 5, 2019
@mosabab mosabab changed the title inappbrowser does not support iPhone x screen inappbrowser master version does not support iPhone x screen if wkwebview=yes Mar 8, 2019
@mosabab mosabab changed the title inappbrowser master version does not support iPhone x screen if wkwebview=yes inappbrowser master version does not support iPhone x screen if option usewkwebview=yes Mar 8, 2019
@mosabab mosabab changed the title inappbrowser master version does not support iPhone x screen if option usewkwebview=yes inappbrowser master version does not support iPhone x screen Mar 8, 2019
@mosabab mosabab changed the title inappbrowser master version does not support iPhone x screen inappbrowser with usewkwebview=yes does not support iPhone x screen Mar 28, 2019
@mosabab mosabab changed the title inappbrowser with usewkwebview=yes does not support iPhone x screen inappbrowser with option usewkwebview=yes does not support iPhone x screen Mar 28, 2019
@filippodicostanzo
Copy link

same issue. someone has solved this bug?

@mosabab
Copy link
Contributor Author

mosabab commented Aug 19, 2019

This issue not solved until now !!!!

no any one can solve this big problem ???

where are you programmers ?

@jcesarmobile
Copy link
Member

Closing as duplicate of #301

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants