You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2017/01/09 23:20:58 UTC

[jira] [Closed] (CB-12338) Black bar in IOS landscape app, after returning to app with different orientation

     [ https://issues.apache.org/jira/browse/CB-12338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

jcesarmobile closed CB-12338.
-----------------------------
    Resolution: Duplicate
      Assignee: jcesarmobile

It's a duplicate of CB-12141
It's fixed in 2.2.2-dev (not released yet, you can install it from github url)

> Black bar in IOS landscape app, after returning to app with different orientation
> ---------------------------------------------------------------------------------
>
>                 Key: CB-12338
>                 URL: https://issues.apache.org/jira/browse/CB-12338
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: 2.2.0
>         Environment: IOS 9
>            Reporter: Eric Wooley
>            Assignee: jcesarmobile
>
> Origianally I thought this issue was with the barcode scanner, so I opened an issue there. However, i was directed here, and found that it was indeed a statusbar issue. [Original Issue](https://github.com/phonegap/phonegap-plugin-barcodescanner/issues/398)
> *Expected Behaviour*
> Orientation returns to normal.
> *Actual Behaviour*
> black bar is visible on right side of screen.
> *Steps to Reproduce*
> 1. add `<preference name="Orientation" value="landscape" />` to your config.xml
> 2. install phonegap-plugin-barcodescanner
> 3. launch application, begin scan barcode
> 4. switch to portrait mode. 
> 5. scan barcode
> 6. When returned to app, black bar appears on right (landscape mode)
> [screenshot](https://cloud.githubusercontent.com/assets/1930227/21735694/ad440c02-d420-11e6-938a-5ee8175cc43f.png)
> *Platform and Version (eg. Android 5.0 or iOS 9.2.1)*
> IOS 9.3.4
> *Cordova CLI version and cordova platform version*
> cordova --version - 6.4.0
> cordova platforms - IOS
> *Work around*
> executing `StatusBar.hide(); StatusBar.show()` causes the bar to go away.



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

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