Afur / flutter_html_to_pdf

Flutter plugin for generating PDF files from HTML
MIT License
69 stars 126 forks source link

pdf from direct html content is not generating #38

Open HetalGohil opened 3 years ago

HetalGohil commented 3 years ago

i have used this library but in first time it is not generating pdf...in first time html file is generating and when i click second time then pdf is created... i have checked path where i have given to for pdf generate at that path first time html file is present but not pdf...i also tried in demo that you have provided but same happen...here is my code Directory downloadsDirectory = await DownloadsPathProvider.downloadsDirectory; targetPath = downloadsDirectory.path.toString();
var generatedPdfFile = await FlutterHtmlToPdf.convertFromHtmlContent( widget.model.invoice, targetPath, targetFileName);

i am getting below error in console : [ERROR:aw_browser_terminator.cc(125)] Renderer process (29976) crash detected (code -1).

HetalGohil commented 3 years ago

can you help me in solving this issue..my project is stuck because of this issue...Thank you

Scylla2020 commented 3 years ago

I just tried following the docs religiously and failed. The library is currently unusable with major issues being ignored for months.

HetalGohil commented 3 years ago

@Afur sir any update on this issue?

HetalGohil commented 3 years ago

[ERROR:aw_browser_terminator.cc(125)] Renderer process (26120) crash detected (code -1).

Afur commented 2 years ago

Hello ✋ Unfortunately I am currently too busy to work on the development of this library. Any kind of contribution will be welcomed and published. 🙏

joy2012bd commented 2 years ago

Same issue. PDF generated first time. Then always generated a html file.