cider
cider copied to clipboard
Exporting blobs with Chrome on iOS not working
Exporting files (pdf export, png export, database export) with Chrome on iOS does not work. After the progress bar hits saving file, nothing happens.
FileSaver.js open ticket: https://github.com/eligrey/FileSaver.js/issues/735
From their documentation on iOS: "saveAs must be run within a user interaction event such as onTouchDown or onClick; setTimeout will prevent saveAs from triggering. Due to restrictions in iOS saveAs opens in a new window instead of downloading, if you want this fixed please tell Apple how this WebKit bug is affecting you."
A workaround has been pushed in that uses FileReader
to at least get some download coming out, but it seems there is also a file size limitation. Any file over ~1.4MB will not download. ~~This limitation could be caused by FileReader.readAsDataURL()
.~~
JSFiddle for testing: https://jsfiddle.net/oen0ja4m/2/
The ticket to follow for this issue is on the Chromium project: https://bugs.chromium.org/p/chromium/issues/detail?id=1252380
There's nothing that can be done on CIDEr's end to mitigate this issue.