cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Weber (JIRA)" <>
Subject [jira] [Commented] (CB-11018) Fix statusbar with inappbrowser causing incorrect orientation on iOS8
Date Sat, 09 Apr 2016 21:18:25 GMT


Jacob Weber commented on CB-11018:

[~daserge] [~jcesarmobile]: Sorry, ignore my comment above about StatusBarOverlaysWebView.
(Turns out I used the wrong plugin spec, and Cordova didn't fetch the statusbar plugin at
all). I re-tested your fix using the same devices, and it seems to fix the initial problem.

But when I ran it on an iPhone 6 device or simulator with iOS 9.3, and switched from portrait
to landscape with a browser open, the translucent area behind the status bar had the wrong
width (see attachment). This looks similar to an issue I reported in CB-10305. Maybe your
branch is out of date?

This is my config.xml:
    <engine name="ios" spec="4.1.0" />
    <plugin name="cordova-plugin-whitelist" spec="1.2.1" />
    <plugin name="cordova-plugin-inappbrowser" spec="1.2.0" />
    <plugin name="cordova-plugin-statusbar" spec=""
    <preference name="StatusBarOverlaysWebView" value="false" />
    <preference name="StatusBarBackgroundColor" value="#000000" />
    <preference name="Orientation" value="all" />

> Fix statusbar with inappbrowser causing incorrect orientation on iOS8
> ---------------------------------------------------------------------
>                 Key: CB-11018
>                 URL:
>             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=""
> {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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message