You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by GitBox <gi...@apache.org> on 2021/05/02 17:47:29 UTC

[GitHub] [cordova-plugin-file] breautek commented on issue #429: Silent error when trying to read image file

breautek commented on issue #429:
URL: https://github.com/apache/cordova-plugin-file/issues/429#issuecomment-830845371


   Cordova doesn't implement a promise-based API, so I cannot comment why it's not resolving. 
   
   Encoding base 64 urls on images can be extremely expensive (images can be upwards of 10mb-20mb in file size on some devices when configured to use high resolution when binary encoded, and can grow by 30% when creating a base64 encoded string, which can lock up a modern device for a short period of time. So in general I'd advise against using base64 encodings unless you can guarantee that you are working with small bits of data.
   
   This doesn't seem to be a bug so I'll be closing this issue. If you require more support on this issue, please use our [Slack](http://slack.cordova.io/). Thanks.


-- 
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



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