[ 
https://issues.apache.org/jira/browse/CB-10721?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183527#comment-15183527
 ] 

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: https://issues.apache.org/jira/browse/CB-10721
>             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
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to