I want to upload a base64 image to my server, but I can't get a complete base64 Code from the camera or the gallery. My code is the following:
navigator.camera.getPicture(onSuccess, onFail, {
quality: 100,
destinationType: Camera.DestinationType.DATA_URL,
EncodingType: 1
});
function onSuccess(imageUri) {
console.log('ImageURI ' + imageUri);
}
When the Code is printed to the console, I copy this code and try to valid it like the guy did in this inactive post, with the same issue as he has. phonegap picture base64 android
It can't be a limit on the console, because I can get complete base64 codes from local images.
I've tried some other qualities too, like 50 or 10.