Date: 2021-09-22 10:28:21
Score: 4.5
Report link

I have the same issue and I have found solution: Mi browser doesn't support downloading file as data URI, so you have to upload the file to your server (I use AJAX and php) and then set the href attribute to the file location on your server: element.setAttribute('href', '/mifiles/'+filename);

After user download it, don't forget to remove the file from server.

  • Blacklisted phrase (1): I have the same issue
  • No code block (0.5):
  • Me too answer (2): I have the same issue
  • Low reputation (1):
Posted by: OldScool