You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2019/11/22 16:28:07 UTC

[GitHub] [cordova-plugin-camera] breautek edited a comment on issue #523: IOS13.2 Taking a quick photo shows black and 'Use photo' doesn't return success/error callback

breautek edited a comment on issue #523: IOS13.2 Taking a quick photo shows black and 'Use photo' doesn't return success/error callback
URL: https://github.com/apache/cordova-plugin-camera/issues/523#issuecomment-557598074
 
 
   If you use `DATA_URL`, I would try using `FILE_URI` instead.
   
   I explain why in more detail in another thread here: https://github.com/apache/cordova-plugin-camera/issues/528#issuecomment-556095740
   
   But TL;DR version is, you're probably seeing a black screen because the javascript is too busy encoding the image in a base64 encoded string which is very inefficient and with modern phones are rather large.
   
   If you wait long enough it will eventually finish creating the base64 string or it will crash due to memory constraints.

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


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org