Reputation: 19684
I am trying to capture an image on an IOS5.1 application using PhoneGap. For somereason my success callback function is always given the file Uri rather than the Base64 encoded version. This is my getPicture call:
navigator.camera.getPicture(captureSuccess, captureError,
{
sourceType: Camera.PictureSourceType.CAMERA,
destinationType: Camera.DestinationType.DATA_URL,
quality : 40,
encodingType: Camera.EncodingType.JPEG
});
Can someone tell me why this is?
Thanks!
Upvotes: 1
Views: 403
Reputation: 23273
Yes, this is a bug. Shaz has fixed it. 1.6.1 to be out Monday.
https://issues.apache.org/jira/browse/CB-496
Upvotes: 1