cordova-issues mailing list archives

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

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

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-415362682
 
 
   Well, I noticed that the "android.provider.MediaStore.ACTION_IMAGE_CAPTURE" intent uses
the EXTRA_OUTPUT extra (https://developer.android.com/reference/android/provider/MediaStore#EXTRA_OUTPUT)
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:
users@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-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org


Mime
View raw message