[pdfx] Android : Close document throw a PlateformException with an Unknown error
Closed this issue · 1 comments
antoijo commented
Describe the bug
PlatformException when I try to close a PdfDocument
To Reproduce
I opened a pdf with openData function then getPage() and page.render(). Once I get my PdfPageImage, I close the pdf with the close function.
This code works well on web and iOS, but on Android I get a PlatformException (more info in screenshot)
Additional context
pdfx : 2.6.0
flutter : 3.19.5
antoijo commented
Sorry I realize I had to close the PdfPage before the PdfDocument.