cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jcesarmobile (JIRA)" <>
Subject [jira] [Commented] (CB-13773) camera.getPicture returns error code 20
Date Thu, 11 Jan 2018 16:37:00 GMT


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

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

> camera.getPicture returns error code 20
> ---------------------------------------
>                 Key: CB-13773
>                 URL:
>             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

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

View raw message