If you make a Progressive Web App, FileSaver doesn't work on iOS.
When I save with FileSaver, it throws a blank screen.
Any way to make this working on PWA?
Thanks
I think you have to share some code that shows how you call FileSaver. PWA or not shouldn't make a difference.
This issue is based on the general iOS WebKit download attribute issue. The download attribute in iOS is not working, therefore the browser does not recognize the generated ObjectUrl as download and ignores the provided filename.
This issue cannot be resolved by WebKit itself, because it involves iOS proprietary code, which is the reason why all browsers on iOS are affected. I personally triggered an Apple Care incident assisted by the Browser Compliance Center of my employer and got a feedback from Apple.
This incident was classified as high priority and will be fixed for future releases. It will not be available in iOS version 12.1 or any prior version.
@HerzogIgzorn have you got an url, where the issue can be tracked at Apple Care?
@HerzogIgzorn have you got an url, where the issue can be tracked at Apple Care?
I'm sorry but there is no public link available. I will share any additional information once I receive further feedback from Apple.
@HerzogIgzorn Any updates?
Ask Apple:
This is from the README:

@HerzogIgzorn Any updates?
No there is no update from Apple yet.
Hoping Apple gets a fix out for this soon. It really ruins an otherwise awesome PWA experience.
I have the same issue on android/firefox
const blob = new Blob(
[JSON.stringify(data, null, 2)],
{type: "text/json;charset=utf-8"});
FileSaver.saveAs(blob, filename);
Most helpful comment
I'm sorry but there is no public link available. I will share any additional information once I receive further feedback from Apple.