You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Richard B Knoll (JIRA)" <ji...@apache.org> on 2016/03/09 20:13:40 UTC

[jira] [Created] (CB-10825) Permission not being requested for photolibrary source

Richard B Knoll created CB-10825:
------------------------------------

             Summary: Permission not being requested for photolibrary source
                 Key: CB-10825
                 URL: https://issues.apache.org/jira/browse/CB-10825
             Project: Apache Cordova
          Issue Type: Bug
          Components: Plugin Camera
            Reporter: Richard B Knoll


We get a SecurityException for certain cameraOptions in Marshmallow because we do not request the READ_EXTERNAL_STORAGE permission. Here is a repro set:

{code}
{
    saveToPhotoAlbum: false,
    targetHeight: -1,
    targetWidth: -1,
    allowEdit: false,
    correctOrientation: false,
    destinationType: Camera.DestinationType.FILE_URI,
    mediaType: Camera.MediaType.PICTURE,
    encodingType: 1,
    sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM
}
{code}



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