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

[jira] [Comment Edited] (CB-10270) camera.getPicture() returns an empty string

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

Oleksiy Nesterov edited comment on CB-10270 at 2/17/16 1:04 PM:
----------------------------------------------------------------

Hi guys. Confirm. Same issue for me, for this situation:

{noformat}
{
       destinationType    : Camera.DestinationType.FILE_URI,
       sourceType         : Camera.PictureSourceType.PHOTOLIBRARY,
       mediaType          : Camera.MediaType.ALLMEDIA,               // media type = 2
       correctOrientation : false
}
{noformat}


was (Author: oleksiy):
Hi guys. Confirm. Same issue for me.

> camera.getPicture() returns an empty string
> -------------------------------------------
>
>                 Key: CB-10270
>                 URL: https://issues.apache.org/jira/browse/CB-10270
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.1.0
>         Environment: Android 4.4.2 (api 19)
>            Reporter: Alexander Sorokin
>            Assignee: Richard B Knoll
>              Labels: android, reproduced, triaged
>         Attachments: mobilespec-camera.7z
>
>
> Code sample to reproduce:
> {code}
> navigator.camera.getPicture(onSuccess, onFail, { 
>     destinationType: Camera.DestinationType.FILE_URI,
>     sourceType: Camera.PictureSourceType.PHOTOLIBRARY,
>     correctOrientation: true
> });
> {code}
> {{onSuccess}} is called with an empty string as an argument.
> if {{correctOrientation}} is {{false}}, everything works as expected.



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