cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard B Knoll (JIRA)" <>
Subject [jira] [Commented] (CB-10676) Cordova camera 2.1.0 getting error "Error retrieving image." with Cordova 6.0.0 on Android
Date Tue, 23 Feb 2016 20:19:18 GMT


Richard B Knoll commented on CB-10676:

I cannot reproduce this with a 5.1.1 emulator or 6.0.0 device and the cordova-plugin-camera
master. Can you try cloning master and see how that works for you?

cordova plugin rm cordova-plugin-camera
cordova plugin add

It would also be helpful if you could tell me what app you are using for photo selection (and
photo editing, if you can identify that as well).

> Cordova camera 2.1.0 getting error "Error retrieving image." with Cordova 6.0.0 on Android
> ------------------------------------------------------------------------------------------
>                 Key: CB-10676
>                 URL:
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Plugin Camera
>    Affects Versions: 2.1.0
>         Environment: Android 5.1.1, Samsung Galaxy S6
>            Reporter: Nicolas Bernier
> I want to use the Cordova Camera plugin (version 2.1.0) to get picture from the pictures
gallery of my users.
> I tested it on my Samsung Galaxy S6 with Android 5.1.1. I do not know yet if I get this
error on other OS.
> These are the options I use with the plugin:
> {code:javascript}
>       var options = {
> 	      	destinationType: Camera.DestinationType.FILE_URI,
> 	      	sourceType: Camera.PictureSourceType.SAVEDPHOTOALBUM,
> 	      	allowEdit: true,
> 	      	encodingType: Camera.EncodingType.JPEG,
> 	      	targetWidth: 400,
> 	      	targetHeight: 400,
> 	      	saveToPhotoAlbum: false
> 	    };
> {code}
> However when I select a picture from my gallery, I immediately get the error "Error retrieving
image." from the cordova camera plugin with no other indications. 
> If I use the version 1.2.0 of the plugin, I do not get the error and I am able to upload
the picture afterwards.
> I think it is a matter of permission but I have no idea what I should change to make
the plugin works.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message