flutter_html_to_pdf icon indicating copy to clipboard operation
flutter_html_to_pdf copied to clipboard

Sometimes lags at _convertFromHtmlFilePath(htmlFile.path)

Open KamathVishak96 opened this issue 3 years ago • 1 comments

I passed HTML string to convertFromHtmlContent() and sometimes wasn't getting any response. Not even an error message. Thought it had something to do with the HTML file generation. So used convertFromHtmlFile() and still facing the same problem.

KamathVishak96 avatar Jan 28 '22 09:01 KamathVishak96

I am facing the same issue. I observed that when the method lags, it only generates the HTML file and freezes. When I call the method again, it mostly works fine. So I used another package called retry which re-executes the method if the pdf generation takes more than two seconds.

zees98 avatar Sep 02 '23 15:09 zees98