I am using docxtemplater to create a docx document from javascript.
On desktop browsers, it works fine. There are no problems on mobile on Android, but I have a problem with iOS.
In iOS, when I try to load or open a document, a new tab is created in the browser when I see a URL like:
blob:http:
On this new tab, I do not see the document, and I have no way to download it.
How can I find a solution to get docx document in iOS?
Here is the code for creating a docx document in JS:
out=doc.getZip().generate({type:"blob"});
The saveAs function is called in the FileSaver.js file:
And when the action is executed on iOS, we are going to throw away this code:
fs_error = function() {
javascript google-chrome ios blob
wawanopoulos
source share