You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Michael Schmidt (JIRA)" <ji...@apache.org> on 2016/11/14 11:34:00 UTC

[jira] [Created] (CB-12141) white app screen after camera overlay shown on iPad

Michael Schmidt created CB-12141:
------------------------------------

             Summary: 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: cordova 6.4.0
cordova-plugin-camera 2.3.0
cordova-plugin-statusbar 2.2.1-dev (current master branch)
            Reporter: Michael Schmidt
            Priority: Critical


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: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org