You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/02/25 00:02:18 UTC

[jira] [Commented] (CB-10120) Camera permission entry in Andorid manifest causes SecurityException when taking a picture

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

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

Github user riknoll commented on the pull request:

    https://github.com/apache/cordova-plugin-camera/pull/174#issuecomment-188500100
  
    Alright, I pushed an update branch here: https://github.com/MSOpenTech/cordova-plugin-camera/tree/CB-10120. I still need to do some testing.


> Camera permission entry in Andorid manifest causes SecurityException when taking a picture
> ------------------------------------------------------------------------------------------
>
>                 Key: CB-10120
>                 URL: https://issues.apache.org/jira/browse/CB-10120
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>         Environment: Android 6.0, cordova-plugin-camera 2.0.0
>            Reporter: Richard B Knoll
>            Priority: Critical
>              Labels: android, mustfix, reproduced, triaged
>
> See [this stackoverflow thread|http://stackoverflow.com/questions/32789027/android-m-camera-intent-permission-bug]. Apparently, if you declare the CAMERA permission in your manifest and then send out the take picture intent, you get a SecurityException. We do not declare that permission ourselves, but a third party plugin or a user could conceivably insert it into the manifest.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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