SamsungInternet / support

For general Samsung Internet support. You can use the Issues register here as a way to ask support questions.
MIT License
17 stars 0 forks source link

"Block automatic downloads" feature blocking all means of downloading a client side generated file #101

Closed vedranstipancic closed 4 years ago

vedranstipancic commented 4 years ago

In the last month we're getting reports that downloads on our page aren't working.

It's a react app. and in it we build some reports on the client side and then download the file using the file-saver library (https://www.npmjs.com/package/file-saver).

Since it's a very popular library and uses the most common ways to download a client side generated file, I find it surprising that it gets blocked. This affects a lot of your users.

Is this expected behaviour? What can we do in this case to get the file to the user, other than rewriting the whole report generation to the backend?

Here's a simple example: https://codepen.io/Stipancic/pen/LYGGOLR