jcesarmobile commented on issue #309: CB-13415 (android) Importing corrupt 
images using the Camera plugin c?
URL: 
https://github.com/apache/cordova-plugin-camera/pull/309#issuecomment-361073318
 
 
   I'm just talking about the error message returned 
   `callbackContext.error("Corrupted image selected.");`
   
   I don't think we should hardcode the out of memory to "corrupted image 
selected". 
   In your tests a regular image of 40MB is not crashing, but probably in low 
end devices will crash, so with the update it will get the "Corrupted image 
selected." when that is not true. 
   In fact, I have tested your 40MB image in my moto G and I get the "Corrupted 
image selected.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to