You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "jcesarmobile (JIRA)" <ji...@apache.org> on 2018/01/11 16:37:00 UTC

[jira] [Commented] (CB-13773) camera.getPicture returns error code 20

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

jcesarmobile commented on CB-13773:
-----------------------------------

The actual code with the camera options you use should be enough.
And if it doesn't happen in all devices, then device name and Android version might be useful too.

Cordova CLI version, cordova-android version and plugin version should always be a must.

> camera.getPicture returns error code 20
> ---------------------------------------
>
>                 Key: CB-13773
>                 URL: https://issues.apache.org/jira/browse/CB-13773
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-camera
>         Environment: Android platform
>            Reporter: Bob Myers
>
> A call to `camera.getPicture` returns an error code of "20". This occurs on the Android platform. Things work fine on the browser platform.
> This error started suddenly a few days ago, and I cannot identify anything specific I did that might have caused it.
> It's very hard for me to present a reproducible case, since this is occurring in the context of large app, but I will try to reproduce in a sample app if there's no alternative. Meanwhile, I'm posting this issue in the hope that someone might know what an error 20 is supposed to mean.
> In case it matters, it strikes me as odd that the device is not asking me for access for the camera when I install the app, nor when I try to take the first picture.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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