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

ASF GitHub Bot commented on CB-12141:
-------------------------------------

GitHub user jcesarmobile opened a pull request:

    https://github.com/apache/cordova-plugin-statusbar/pull/73

    CB-12141 (ios) fix white app screen after camera overlay shown on iPad

    <!--
    Please make sure the checklist boxes are all checked before submitting the 
PR. The checklist
    is intended as a quick reference, for complete details please see our 
Contributor Guidelines:
    
    http://cordova.apache.org/contribute/contribute_guidelines.html
    
    Thanks!
    -->
    
    ### Platforms affected
    iOS
    
    ### What does this PR do?
    fix white app screen after camera overlay shown on iPad.
    removes all the hackish code we added to fix specific cases, this simpler 
code seems to fix all of them.
    
    ### What testing has been done on this change?
    
    
    ### Checklist
    - [x] [Reported an issue](http://cordova.apache.org/contribute/issues.html) 
in the JIRA database
    - [x] Commit message follows the format: "CB-3232: (android) Fix bug with 
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform 
affected.
    - [ ] Added automated test coverage as appropriate for this change.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jcesarmobile/cordova-plugin-statusbar 
CB-12141-3

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-plugin-statusbar/pull/73.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #73
    
----
commit 579a5a692b718a4bcabb255d9e4a7b59b3334b1d
Author: Julio César <[email protected]>
Date:   2016-12-08T23:18:23Z

    CB-12141

----


> white app screen after camera overlay shown on iPad
> ---------------------------------------------------
>
>                 Key: CB-12141
>                 URL: https://issues.apache.org/jira/browse/CB-12141
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Statusbar
>    Affects Versions: Master
>         Environment: iOS 9.3.5
> cordova 6.4.0
> cordova-plugin-camera 2.3.0
> cordova-plugin-statusbar 2.2.1-dev (current master branch)
>            Reporter: Michael Schmidt
>            Assignee: jcesarmobile
>              Labels: ios
>
> h4. steps to reproduce
> * create cordova app
> {code}
> cordova create MyAppTest33
> cd MyAppTest33/
> cordova platform add ios
> cordova plugin add https://github.com/apache/cordova-plugin-statusbar.git 
> --save
> cordova plugin add cordova-plugin-camera --variable 
> CAMERA_USAGE_DESCRIPTION=" " --variable PHOTOLIBRARY_USAGE_DESCRIPTION=" " 
> --save
> {code}
> * add camera sample code to www folder
> {code}
> https://github.com/Icenium/Sample-Camera/blob/master/Camera%20Sample/index.html
> https://github.com/Icenium/Sample-Camera/blob/master/Camera%20Sample/scripts/main.js
> https://github.com/Icenium/Sample-Camera/blob/master/Camera%20Sample/styles/theme.css
> {code}
> * change config.xml to landscape app
> {code}
> <preference name="Orientation" value="landscape" />
> {code}
> h4. action: open camera on iPad
> * open app on real device: iPad
> * take picture from camera (or open camera & cancel)
> h4. problem: App screen turns white
> * completely white screen - web app is completely gone
> h4. root cause is the statusbar plugin on iPad in landscape app
> * it works well ..
> ** with Orientation "portrait" 
> ** on iPhone
> ** without statusbar plugin



--
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