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

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

janpio edited a comment 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-415341543
 
 
   Thanks, now it makes sense ;)
   
   What was ` Manifest.permission.READ_EXTERNAL_STORAGE` before is now ` 
Manifest.permission.WRITE_EXTERNAL_STORAGE`. Was this a bug before? Is this a 
new permission? Was this somehow changed with Android 8.1 that you mention?
   
   PS: Go for it with the other PR. The sooner it is there, the sooner it can 
be merged.

----------------------------------------------------------------
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