cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (CB-14260) captureImage: permission denial on android 8.1
Date Thu, 23 Aug 2018 10:05:00 GMT


ASF GitHub Bot commented on CB-14260:

mcelotti commented on issue #95: CB-14260: (android) captureImage permission denial on android
   Well, I noticed that the "android.provider.MediaStore.ACTION_IMAGE_CAPTURE" intent uses
the EXTRA_OUTPUT extra (
and therefore WRITE_EXTERNAL_STORAGE is required to save the image.
   I suppose this is related to multiple image capture feature, because there's a ContentResolver
used to reference all the pictures.

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

> captureImage: permission denial on android 8.1
> ----------------------------------------------
>                 Key: CB-14260
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-plugin-media-capture
>    Affects Versions: 3.0.0
>            Reporter: Marco
>            Priority: Major
> When I call "captureImage" method I accept all permissions but I get:
> {noformat}
> java.lang.SecurityException: Permission Denial: writing
uri content://media/external/images/media from pid=12716, uid=10079 requires android.permission.WRITE_EXTERNAL_STORAGE,
or grantUriPermission(){noformat}
> I'm using cordova-plugin-media-capture version 3.0.2

This message was sent by Atlassian JIRA

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

View raw message