You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Eltjo Boersma (JIRA)" <ji...@apache.org> on 2015/02/25 17:06:05 UTC

[jira] [Updated] (CB-8542) long delay opening camera roll and initializing camera v 0.3.5

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

Eltjo Boersma updated CB-8542:
------------------------------
    Description: 
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.

The delays are no longer present when I revert back to version 0.3.4.

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

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


> 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.
> The delays are no longer present when I revert back to version 0.3.4.
> 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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org