flutter_html_to_pdf icon indicating copy to clipboard operation
flutter_html_to_pdf copied to clipboard

pdf from direct html content is not generating

Open HetalGohil opened this issue 4 years ago • 6 comments

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 avatar Jan 30 '21 13:01 HetalGohil

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

HetalGohil avatar Apr 08 '21 11:04 HetalGohil

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

Scylla2020 avatar Apr 30 '21 00:04 Scylla2020

@Afur sir any update on this issue?

HetalGohil avatar Jun 09 '21 04:06 HetalGohil

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

HetalGohil avatar Jul 27 '21 07:07 HetalGohil

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

Afur avatar Nov 29 '21 21:11 Afur

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

joy2012bd avatar Apr 23 '22 10:04 joy2012bd