You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While loading some PDF documents in Flutter using SfPdfViewer.file returns an error. I have attached some PDFs for the reference. computer_networks.pdf sample.pdf
I also tried to load using the same file from the network source and it is having the same issue. Here is the source URL for the pdf I have used.
I have also referred here forum, but could not find the way to implement the below mentioned snippet (as suggested in the forum) in the SfPdfViewer. Is there any way to either resolve the exception or load such PDF files?
// Open an existing corrupted document from disk.PdfLoadedDocument loadedDocument =newPdfLoadedDocument("Input.pdf", true);
Steps to reproduce
Create a new flutter web application flutter create syncfusion_pdfviewer_poc
Hi @saurabhDetharia, we are able to replicate the reported issue that unable to load specific documents due to invalid argument error. Currently, we are validating this issue, and we will update further details once we found the root cause for this issue.
Bug description
While loading some PDF documents in Flutter using SfPdfViewer.file returns an error. I have attached some PDFs for the reference.
computer_networks.pdf
sample.pdf
I also tried to load using the same file from the network source and it is having the same issue. Here is the source URL for the pdf I have used.
I have also referred here forum, but could not find the way to implement the below mentioned snippet (as suggested in the forum) in the SfPdfViewer. Is there any way to either resolve the exception or load such PDF files?
Steps to reproduce
flutter create syncfusion_pdfviewer_poc
flutter pub add syncfusion_flutter_pdfviewer
Code sample
Code sample
main.dart
pubspec.yaml
Screenshots or Video
Screenshots / Video demonstration
PDF.Loading.Issue.mp4
Stack Traces
Stack Traces
On which target platforms have you observed this bug?
Android, iOS
Flutter Doctor output
Doctor output
The text was updated successfully, but these errors were encountered: