Create PDF and save to mobile device JQM project

I have created PDF using
Step1 :

Step 2: console.log("generating pdf...");
var doc = new jsPDF();
doc.text(20, 20, 'HELLO!');

doc.setFont("courier");
doc.setFontType("normal");
doc.text(20, 30, 'This is a PDF document generated using JSPDF.');
doc.text(20, 50, 'YES, Inside of PhoneGap!');
doc.save('test.pdf');

Step3: This works in browser and does not work while testing in Apper.io Tester APP. It does not work in mobile device.

Please suggest some solution.

Thank you
1 person has
this question
+1
Reply