FileSaver.js icon indicating copy to clipboard operation
FileSaver.js copied to clipboard

How to make it work on iOS with Progressive Web Apps or Cordova Webview

Open Aarbel opened this issue 5 years ago • 3 comments

Hi, thanks a lot @eligrey for this lib !

Do you know a way to make it work on iOS for PWA and Cordova ? Download is an advanced feature, could be great to have a plugin polyfill for PWAs or Cordova apps.

Thanks a lot !

Clement

Aarbel avatar Sep 22 '20 14:09 Aarbel

#Push – looking for the same thing here. Thanks for this awesome skript @eligrey!

alex

AlexanderBoenninger avatar Nov 26 '20 15:11 AlexanderBoenninger

@eligrey, Thanks for an amazing library. Do you know of a way to make it work with a wkWebView in an iOS app?

Thank you!

bdhanoa avatar Jan 31 '23 17:01 bdhanoa

I'd also like this functionality; both IOS and Android webviews don't work

const blobOutput = new Blob([buffArr], { type: "application/octet-stream" });

On IOS Webview, if I create the blob with application/octet-stream, the blob is directly opened, replacing the existing content. On Android Webview, nothing happens at saveAs()

kriskate avatar Jun 18 '24 13:06 kriskate