Long story short, I'm developing an app using (Framework7, VueJS, Cordova). I need to generate and preview a pdf file using jsPDF; this works normally when I test on the browser, but when I build the app to test it on Android, nothing happens when I try to generate the PDF.
Here are the lines responsible for the pdf generation part:
var blobPDF = new Blob([ doc.output() ], { type : 'application/pdf'});
var url = window.URL.createObjectURL(blobPDF);
window.open(url);