Software Archive
Read-only legacy content
17061 Discussions

Camera will not open

Ivan_M_1
Beginner
355 Views

I'm using Cordova Camera Plugin (https://www.npmjs.com/package/cordova-plugin-camera) and starting with this line
navigator.camera.getPicture(onSuccessPhoto, 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.

Can anybody help me with this?

0 Kudos
1 Reply
Elroy_A_Intel
Employee
355 Views

Hi Ivan. I recommend filing an issue to the team responsible for this plugin at JIRA issue Tracker.

0 Kudos
Reply