-
Notifications
You must be signed in to change notification settings - Fork 818
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
syncfusion_flutter_pdfviewer : iOS & android - Certain pdf documents are not loading (grey screen) #2267
Comments
I'm using latest version of package (28.2.4), and tested multiple versions but none work. |
Hi @Youssefbenmlih, we are able to replicate the reported issue where the specific PDF document is not loading in the SfPdfViewer widget. Currently, we are validating this issue and will provide further updates once the root cause is identified. |
Any news ? |
Hi @Youssefbenmlih, We have confirmed the issue “TypeError occurs when getting the bounds of the form field in a specific document.” as a defect in our product and we will include the fix in any of the upcoming weekly release. We will notify once the fix is included in the weekly release. Please use the below feedback link to track the status of the reported bug. Disclaimer: “Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization.” |
Hi @Youssefbenmlih, do you have any workaround? Is there something that can be done to the PDF so that the exception doesn't occur? |
Hi @Youssefbenmlih, Package link: syncfusion_flutter_pdf v28.2.9 **Root cause: ** The reported issue occurs when attempting to retrieve the bounds value of the form fields from a specific PDF document. The bounds value is typically retrieved as a double; however, in our case, an int value appears, leading to an exception. |
We are closing this as we believe the issue has been resolved. If you need further assistance or have any additional questions, please feel free to reopen the case or reach out to us at any time. |
Bug description
Certain pdf documents are not working (i upload it here but I get the pdf from a link):
[CS] 2025-01-29 ok.pdf
The document loads well with other packages such as pdfview.
Steps to reproduce
Put code smaple into showModalBottomSheet builder, run with .memory (it doesnt work with memory as well so you can) to use the pdf bytes, if the link of the pdf is needed i would like to give it privatly as it expires every 5 min.
Code sample
Code sample
It might be important to note that this widget is called in a showModalBottomSheet.
Screenshots or Video
Screenshots / Video demonstration
here is the behavior :

certain documents do load well though.
Stack Traces
Stack Traces
error :On which target platforms have you observed this bug?
iOS
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: