Actually, I think we can disregard that issue, as it isn’t a problem on a real device or in the emulator. Now, I’m having another issue. I’m trying to use Cordova File Transfer to send the base64 encoded string (extracted from the canvas object via #toDataURL()) to my own server for storage, but it does not work, the following error is issued:
code = 1;
source = "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAASABIAAD/
Do you happen to know what could be causing this error? is it something related to this problem?
Could another likely cause be that the base64 encoded string is too long? Anyways, let me know what do you think. Perhaps you have encountered this problem before/ or maybe there’s a “right” way of doing upload of cropped image using cordova file transfer (and your plugin)?
Thanks for the kind reply!