You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/03/05 17:12:41 UTC

[GitHub] [cordova-plugin-inappbrowser] mosababubakr opened a new issue #437: inappbrowser does not support iPhone x screen

mosababubakr opened a new issue #437: inappbrowser does not support iPhone x screen
URL: https://github.com/apache/cordova-plugin-inappbrowser/issues/437
 
 
   # Bug Report
   
   ## Problem
   
   ![untitled-1](https://user-images.githubusercontent.com/47486787/53686419-5d532c80-3d2f-11e9-86d3-49f8383fdd61.jpg)
   
   ### What is expected to happen?
   Inappbrowser should appear correctly in iphone x devices when the device is in portrait mode or in landscape mode.
   
   ### What does actually happen?
   If you try to open an app with inappbrowser using iphone x device, you will notice a problem in the screen, because, inappbrowser not updated to iphone x devices 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 empty.
   
   PLEASE NOTE: I am using meta viewport-fit=cover in the main app, but the problem in the plugin itself.
   
   The problem description in full details in the following pictures.
   
   ## Information
   <!-- Include all relevant information that might help understand and reproduce the problem -->
   ![test](https://user-images.githubusercontent.com/47486787/53685937-da7ba300-3d29-11e9-8697-ccfdf7df87d3.jpg)
   ![test2](https://user-images.githubusercontent.com/47486787/53685936-d9e30c80-3d29-11e9-808c-12afc72c043f.jpg)
   
   ### Command or Code
   <!-- What command or code is needed to reproduce the problem? -->
   cordova.InAppBrowser.open('https://www.google.com', '_blank', 'location=no,usewkwebview=yes')
   
   
   ### Environment, Platform, Device
   <!-- In what environment, on what platform or on which device are you experiencing the issue? -->
   
   iPhone x with latest 12.1.4 ios
   
   (PLEASE NOTE: I don't make a test for android devices that use same screen feature as iphone x, so, please check also for Galaxy s10 or any android device that has same screen feature)
   
   
   ### Version information
   <!-- 
   What are relevant versions you are using?
   For example:
   Cordova: Cordova CLI, Cordova Platforms, Cordova Plugins 
   Other Frameworks: Ionic Framework and CLI version
   Operating System, Android Studio, Xcode etc.
   -->
   Phonegap build cli 8.1.1
   cordova-plugin-inappbrowser master version
   
   
   ## 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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org