-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
open() not working on Android #679
Comments
reference: #800 |
Hi Guys, any updates on this, can we expect a fix here soon for android and ios? |
Any updates? |
any updates on this? I am also facing same issue. where does file gets saved on the device after calling download and how to get the complete path? |
any news on this, downloading is not working on android devices, and also opening, opens a new blank tab |
I found a workaround, and it's working seamlessly both on android and ios.
Hope this helps |
@marcomessa You helped me a lot! Tks! |
You are welcome! Be aware that this solution is gonna be deprecated in future Chrome versions! |
@marcomessa Followd the steps you have specified.But showing this in the console. Resource interpreted as Document but transferred with MIME type application/pdf Also No new window is opening in chrome.Can u suggest any solutions |
Any update on this? |
Chrome on Android throws error after download pdf file - "download failed due to unknown error":
=> In actual Chrome versions works // edited issue title |
someone find a solution? I'm building a cordova app and .download() don't work on devices. |
Below code(Ionic) is works for me, tested on Android/iOS/Browsers.
|
@niravparsana94 You helped me a lot! Thanks |
I'm glad. :) |
Android not support open pdf in browser, but |
Hi,
I am using PDFMake in my assignment, its working as expected (on android device and on laptop) and like to thank you for this.
However, Download() method not working on android devices.
My requirement is, after I show the PDF, pdfMake.createPdf(documentDefination).open(), I want to download same pdf to my android device and for this I am using pdfMake.createPdf(documentDefination).downlaod("test.pdf"). Its working fine on chrome but not on physical android device.
Does it save the PDF some other location on device or how I can achieve this?
Girish D. Fuluskar
The text was updated successfully, but these errors were encountered: