We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

PDF viewer crashes app when closed during loading


Hi, 

App is working fine and loading PDFs without any problems until I found out that only on iOS when I load the Pdf and press the back button to navigate to previous screen and meanwhile some of the PDF content has loaded not full, then App Crashed with this error...

syncfusion_flutter_pdfviewer/SwiftSyncfusionFlutterPdfViewerPlugin.swift:128: Fatal error: Unexpectedly found nil while unwrapping an Optional value

Sumup: App crashed if I close the screen which has currently loaded some of the pages and loader is loading other PDF pages.


Need help please.


1 Reply

DR Deepika Ravi Syncfusion Team April 27, 2023 03:15 AM UTC

Hi Taimoor Sikander

We tried to reproduce the reported issue with provided details, but the PDF loads properly without any crashes in our side. For your reference, we have prepared a simple sample (along with the output scree record of the same) and it can be downloaded from the attachment.

If you still reproduce the reported issue in your use case, then kindly share the modified issue reproducing in the sample and share the issue replicating video, which will be helpful for us to provide a prompt solution at the earliest.

Regards,

Deepika R


Attachment: F181968_12a51570.zip

Loader.
Live Chat Icon For mobile
Up arrow icon