[
https://issues.apache.org/jira/browse/CB-10270?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15124356#comment-15124356
]
Richard B Knoll commented on CB-10270:
--------------------------------------
The issue (at least on KitKat) is that we are trying to use the content
resolver to resolve a {{file: //}} URI and obviously getting nothing back.
Should be a simple fix. Looks like it was probably introduced by [this
commit|https://github.com/apache/cordova-plugin-camera/commit/929733b8913311f2cfd504937268a8a1d22f4f9a].
> 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: [email protected]
For additional commands, e-mail: [email protected]