You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On regular browsers, spfx application works fine, files are generated from html -> canvas -> jsPDF. The app only shuts down when trying jspdf.save() on the mobile app. On a regular browser everything generates and downloads fine. I also tried a trick: const pdfBlob = mynewpdf.output("blob"); const downloadLink = document.createElement('a'); downloadLink.href = URL.createObjectURL(pdfBlob); downloadLink.download = 'test.pdf' downloadLink.target = '_blank'; //with and without downloadLink.click();
But even that didn't help.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
On regular browsers, spfx application works fine, files are generated from html -> canvas -> jsPDF. The app only shuts down when trying jspdf.save() on the mobile app. On a regular browser everything generates and downloads fine. I also tried a trick:
const pdfBlob = mynewpdf.output("blob");
const downloadLink = document.createElement('a');
downloadLink.href = URL.createObjectURL(pdfBlob);
downloadLink.download = 'test.pdf'
downloadLink.target = '_blank'; //with and without
downloadLink.click();
But even that didn't help.
Beta Was this translation helpful? Give feedback.
All reactions