Hi, I tried this code:
<a ng-href="file.pdf" download>Download PDF</a>
to download a pdf file in an ionic app, but it doesn’t work.
(The file.pdf is in www folder)
Can you help me?
Thank you.
Hi, I tried this code:
<a ng-href="file.pdf" download>Download PDF</a>
to download a pdf file in an ionic app, but it doesn’t work.
(The file.pdf is in www folder)
Can you help me?
Thank you.
//Using this opening technique:
a(href=’#’, onclick=“window.open(‘http://www.downloadpdf.com’, ‘_system’);”) www.downloadpdf.com
Thank you sharthan for your answer