Eltjo Boersma created CB-8542:
---------------------------------

             Summary: long delay opening camera roll and initializing camera v 
0.3.5
                 Key: CB-8542
                 URL: https://issues.apache.org/jira/browse/CB-8542
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
    Affects Versions: 3.7.0
         Environment: iOS 7.1.1 iPad Model MD522NF/A
            Reporter: Eltjo Boersma


I am using iOS platform version 3.7.0 and it came recently with an upgrade of 
the camera plugin 0.3.4 -> 0.3.5.
With this version opening the camera roll takes more than 40 seconds.
(On this test iPad there is only one camera roll with only 57 pictures.)
Also using the camera shows a delay of more than 30 seconds to fully 
initialize. It starts out with a black screen but with the controls active. 
Also the focus square appears from time to time. Taking a picture when the 
screen is black yields a proper image and the screen is no longer black when 
doing retake.

Also on iPhone 6 and iOS 8.1.3 there is a noticeable delay when opening the 
camera roll, but it is less pronounced.

Here is how I call the api:
Camera roll
navigator.camera.getPicture(this.addDocumentDone, this.addDocumentFails, {
                        quality: 50,
                        sourceType: 0,
                        destinationType: Camera.DestinationType.DATA_URL,
                        allowEdit: true
});

Camera
navigator.camera.getPicture(this.addDocumentDone, this.addDocumentFails, {
                        quality: 50,
                        sourceType: Camera.PictureSourceType.CAMERA,
                        destinationType: Camera.DestinationType.DATA_URL,
                        allowEdit: true,
                        saveToPhotoAlbum: true,
                        correctOrientation: true
});

Thanks for looking into this and best regards,
  Eltjo



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

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

Reply via email to