Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-12141

white app screen after camera overlay shown on iPad

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Master
    • Fix Version/s: None
    • Labels:
    • 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)

      Description

      steps to reproduce

      • create cordova app
        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
        
      • add camera sample code to www folder
        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
        
      • change config.xml to landscape app
        <preference name="Orientation" value="landscape" />
        

      action: open camera on iPad

      • open app on real device: iPad
      • take picture from camera (or open camera & cancel)

      problem: App screen turns white

      • completely white screen - web app is completely gone

      root cause is the statusbar plugin on iPad in landscape app

      • it works well ..
        • with Orientation "portrait"
        • on iPhone
        • without statusbar plugin

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jcesarmobile jcesarmobile
                Reporter:
                mobidev3 Michael Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: