I searched that the doc.save () function is not functioning on the mobile app Is there any way to replace for save () function to work the download pdf on the mobile/android app? Hello, i'm developping an hybrid app and i'm using jspdf in my app and it works smoothly with chrome on my pc but when i ran it on my device it didn't work I appreciate your help ! It will not work as an apk or through the android testing app If you view it on the browser of the device, it also works ok
I have turned on share with support The jspdf library is stored as jspdf and it has an extension to the text function called textex which allows text alignment This is added to the end of the jspdf file. Is it possible to convert html to pdf using jspdf in android app ( without using cordova or phone gap) and save the file in device local. I tried this and onclick of button i am calling jspdf convertion logic, but pdf is not generating. In the test i do on my computer, the pdf is generated and downloaded normally
In this code the page uses css flexbox to center a.container div, giving it a white background, rounded corners, and a shadow effect for a clean look A button labeled generate pdf is styled with a green background and hover effect, set to trigger the generatepdf () function when clicked However, pdf.save() does not work on my tablet or phone I tried to add a special case for mobile devices to open the pdf in a new window, since mobile devices don't download things the same as desktops, with the idea being that once the pdf is open in a new window the user can choose to save it manually Var pdf = new jspdf('p', 'pt', 'letter');
OPEN