-
Notifications
You must be signed in to change notification settings - Fork 269
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
Error occurred generating the pdf #265
Comments
+1 I also encountered this problem, is there any one can help how to fix it? |
Same issue here. @christopherdro Can we get some help on this? Not sure if this is a memory issue but this occurs randomly and forces the app to crash. Thanks! |
Did you find any workaround ? |
This will help https://www.youtube.com/watch?v=4CBUXv8d0I0 |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
We've had issues with this on Android too. We dug into it quite a bit and, from what we could see, it was failing within Android itself inside the PrintDocumentAdapter's code, not this module. Unfortunately, the OS doesn't provide any details about why it failed. Seems to be somewhat intermittent too - it can fail on a device repeatedly one day and then work on a different day. |
Any solution to this problem I am also facing same issue. Getting below error. It failing when trying to embed images. Error: Please retry, Error occurred generating the pdf |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hi,
I am trying to generate pdf from html content but i'm getting this error in catch block
[Error: Please retry, Error occurred generating the pdf]
Here, i attached my class file
htmlToPdf.js.zip
OS
Android
Environment
"react-native-html-to-pdf": "^0.12.0",
"react": "17.0.2",
"react-native": "0.65.1"
The text was updated successfully, but these errors were encountered: