cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "IagoSRL (JIRA)" <>
Subject [jira] [Commented] (CB-11382) Camera will not open
Date Wed, 20 Jul 2016 12:01:20 GMT


IagoSRL commented on CB-11382:

Hi again!
Found a good solution (not workaround): I was working with cordova-android 4.1.1 (default
at Phonegag 5.2.0, using Phonegap Build service), after updating to cordova-android version
5.1.1 (currently the latest avaiilable at Phonegap Build), the plugin worked again using a
targetSdkVersion of 23 (or default).
Now when trying to use getPicture, Android shows the permissions dialog and after tap Allow
everything goes as expected.

Additionally, I updated my targetSdkVersion to 23 (or left default one) to get the APK accepted
at Google Play store.

Note: I found a problem that prevented me from clicking 'Allow' button, is a problem from
other App ("File Manager" on my case), as commented at

Reviewing plugin README, it says "This requires cordova 5.0+", since I was using Phonegap/Cordova
5.2.0 I expected I was in the correct version. Maybe it can specify it clearer that the required
is "cordova-android 5.0+"? And add some note about Android 6 permissions, and this issue can
be closed.

> Camera will not open
> --------------------
>                 Key: CB-11382
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>            Reporter: Ivan
> I'm using Cordova Camera Plugin (
and starting with this line
>, onFailPhoto, { quality: 50, destinationType:
Camera.DestinationType.FILE_URI });
> On android 6.0.1. camera will not open and I got error 
> "permission denial: ... requires android.permission.read_external_storage or granturipermission()"
> On lower android version it works fine.

This message was sent by Atlassian JIRA

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

View raw message