[
https://issues.apache.org/jira/browse/CB-10625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15156198#comment-15156198
]
ASF GitHub Bot commented on CB-10625:
-------------------------------------
GitHub user jcesarmobile opened a pull request:
https://github.com/apache/cordova-plugin-camera/pull/175
Fix for CB-10625
getDocumentId was crashing in some cases.
Now, in case it crashes, it will use the original uri to query.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jcesarmobile/cordova-plugin-camera
CB-10625-camera-plugin-android
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-camera/pull/175.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #175
----
commit e5a8a38c0c8ac4c71f588510a5b2745e793a38b1
Author: Julio César <[email protected]>
Date: 2016-02-21T20:00:14Z
Fix for CB-10625
getDocumentId was crashing in some cases.
Now, in case it crashes, it will use the original uri to query.
----
> getPicture fails when getting a photo from the Photo Library
> ------------------------------------------------------------
>
> Key: CB-10625
> URL: https://issues.apache.org/jira/browse/CB-10625
> Project: Apache Cordova
> Issue Type: Bug
> Components: Plugin Camera
> Affects Versions: Master, 6.0.0
> Environment: cordova-plugin-camera 2.1.0, cordova-android 5.1.0,
> android 5.0.2, no crosswalk
> Reporter: Tom Nonk
> Assignee: Joe Bowser
> Labels: Android
>
> Hi,
> Since I updated Cordova to 6.0.0, camera.getPicture always fails and returns:
> "error retrieving image".
> Here are the parameters I use:
> {
> quality: 100,
> targetHeight: 250,
> targetWidth: 250,
> destinationType: Camera.DestinationType.FILE_URI,
> sourceType: navigator.camera.PictureSourceType.PHOTOLIBRARY,
> allowEdit: true,
> encodingType: Camera.EncodingType.JPEG,
> correctOrientation: true
> }
> Thanks by advance
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]