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

ASF GitHub Bot commented on CB-14260:
-------------------------------------

mcelotti commented on issue #95: CB-14260: (android) captureImage permission 
denial on android 8.1
URL: 
https://github.com/apache/cordova-plugin-media-capture/pull/95#issuecomment-415459923
 
 
   Here we have the answer: 
https://developer.android.com/about/versions/oreo/android-8.0-changes#rmp
   Looks like WRITE_EXTERNAL_STORAGE was granted automatically since it belongs 
to the same group of READ_EXTERNAL_STORAGE 

----------------------------------------------------------------
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:
us...@infra.apache.org


> captureImage: permission denial on android 8.1
> ----------------------------------------------
>
>                 Key: CB-14260
>                 URL: https://issues.apache.org/jira/browse/CB-14260
>             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 
> com.android.providers.media.MediaProvider 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
(v7.6.3#76005)

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

Reply via email to