[ 
https://issues.apache.org/jira/browse/CB-11018?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15227122#comment-15227122
 ] 

Jacob Weber commented on CB-11018:
----------------------------------

Tried it with my app in an iPad Air simulator with iOS 8.4, an iPad Retina 
simulator with iOS 8.1, and an iPhone 6 device with iOS 9.3. Seems to work 
fine, going from portrait to landscape and landscape to portrait with the 
InAppBrowser open.

In the 8.4 simulator, after I close the InAppBrowser, it seems to quickly flip 
back and forth once between landscape and portrait. Not sure if that matters; I 
don't see anything strange on the device.

HOWEVER, the StatusBarOverlaysWebView=false setting doesn't seem to be 
respected anymore. The web view covers the whole screen, and the status bar is 
overlayed on top of it. I'm not seeing this problem with commit #244eb71.

Don't know how important it is to test on iOS 7.x, since that doesn't seem to 
be supported by Cordova anymore.

> Fix statusbar with inappbrowser causing incorrect orientation on iOS8
> ---------------------------------------------------------------------
>
>                 Key: CB-11018
>                 URL: https://issues.apache.org/jira/browse/CB-11018
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>         Environment: iOS8
>            Reporter: Sergey Shakhnazarov
>            Assignee: Sergey Shakhnazarov
>              Labels: ios, triaged
>         Attachments: ios.png
>
>
> {noformat}
>     <platform name="ios">
>         <preference name="Orientation" value="all" />
>     </platform>
>     <engine name="ios" spec="~4.1.0" />
>     <plugin name="cordova-plugin-whitelist" spec="1" />
>     <plugin name="cordova-plugin-inappbrowser" spec="~1.2.0" />
>     <plugin name="cordova-plugin-statusbar" 
> spec="https://github.com/apache/cordova-plugin-statusbar#244eb71"; />
> {noformat}
> Ran it on an iPad Air simulator with iOS 8.4. 
> Started in portrait, opened an InAppBrowser, rotated to landscape, closed the 
> InAppBrowser. 
> The window wasn't sized correctly. See attached image.
> It seems to only be a problem in iOS 8, not iOS 9. And it only affects 
> portrait-to-landscape, not landscape-to-portrait.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to