[ https://issues.apache.org/jira/browse/CB-14260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16616936#comment-16616936 ]
ASF GitHub Bot commented on CB-14260: ------------------------------------- jcesarmobile 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-421849266 I'm pretty sure the audio recording still needs the read permission, so I think it might be safer to ask for both, at least in captureAudio, or just don't change it there and change only for captureImage. Couldn't really test because my 8.1 device doesn't include an audio capture app, and tried using a few and only one from sony allows the intent, but then cordova-android CordovaResourceApi is not able to handle the content url returned. ---------------------------------------------------------------- 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