[
https://issues.apache.org/jira/browse/CB-14260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16573008#comment-16573008
]
ASF GitHub Bot commented on CB-14260:
-------------------------------------
mcelotti opened a new pull request #95: CB-14260: (android) captureImage
permission denial on android 8.1
URL: https://github.com/apache/cordova-plugin-media-capture/pull/95
captureImage: permission denial on android 8.1
<!--
Please make sure the checklist boxes are all checked before submitting the
PR. The checklist
is intended as a quick reference, for complete details please see our
Contributor Guidelines:
http://cordova.apache.org/contribute/contribute_guidelines.html
Thanks!
-->
### Platforms affected
Android
### What does this PR do?
It fixes this issue: https://issues.apache.org/jira/browse/CB-14260
### What testing has been done on this change?
Real device and emulator
### Checklist
- [X] [Reported an issue](http://cordova.apache.org/contribute/issues.html)
in the JIRA database
- [X] Commit message follows the format: "CB-3232: (android) Fix bug with
resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform
affected.
- [ ] Added automated test coverage as appropriate for this change.
----------------------------------------------------------------
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:
[email protected]
> 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: [email protected]
For additional commands, e-mail: [email protected]