cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-10270) camera.getPicture() returns an empty string
Date Fri, 29 Jan 2016 20:27:39 GMT

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

Richard B Knoll commented on CB-10270:
--------------------------------------

Testing with the provided mobilespec app:

Here are the results I get on Kitkat

||{{allowEdit}}||{{correctOrientation}}||result
|true|true|Empty String
|false|true|All Good
|true|false|All Good
|false|false|Content URI that doesn't display

And on Marshmallow:

||{{allowEdit}}||{{correctOrientation}}||result
|true|true|Empty String
|false|true|All Good
|true|false|Content URI that doesn't display
|false|false|Content URI that doesn't display

I think this is definitely affected by {{allowEdit}}, which has always been buggy.

> 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
>            Priority: Critical
>              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


Mime
View raw message