cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <>
Subject [jira] [Commented] (CB-10721) getPicture takes at least 20 seconds to get me back to my app
Date Mon, 07 Mar 2016 19:31:40 GMT


Richard B Knoll commented on CB-10721:

This sounds like it's probably tied to the camera options you are using. Certain camera options
lead us to doing more image processing than others, which is likely to be causing the delay.
It would be really helpful if you could post the javascript where you call {{getPicture()}}
so that I can take a look at the options you are passing in and see if I can nail down the
issue. Also, make sure you are not using the {{DATA_URL}} destination type. It causes a ton
of memory overhead depending on the quality of the image and could totally be the cause of
the delay.

> getPicture takes at least 20 seconds to get me back to my app
> -------------------------------------------------------------
>                 Key: CB-10721
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.1.0
>         Environment: Android 5.1.0
>            Reporter: Gregor
>              Labels: Android, triaged
> Using Cordova Camera plugin with function getPicture() takes a picture without any problem
(when source is CAMERA). Default camera app opens, I take a photo, confirm it, then a black
screen shows for around 20 seconds before I'm thrown back to my app with success callback.
> Picking photo from library doesn't have this issue.
> Samsung Galaxy S6 with Android 5.1.0.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message