Cannot see second PDF page in PdfViewer widget

Resolved

Solution (ish): The issue was with the PDF, not the PdfViewer widget. So not to worry, FlutterFlow is still doing good work :)

Background

I am using the PdfViewer widget to render PDFs in my web app. My PDFs are two pages and are stored in my project's Firebase Storage. I am using the URL from Storage to display my PDFs in the PdfViewer.

Issue

The first page of my PDF renders perfectly, but when I swipe to the next page, I don't see any content - only this little error icon:

When I open the document following the URL in Firebase, I can see both pages just fine so it seems like the PDFs are uploading without any issue to Firebase Storage.

The plot thickens because some of the second pages of the PDF do render. I am curious if this is an issue on the FF-side, Firebase, or something generally wrong with the PDFs? I am hoping someone has come across this issue and knows what the error is pointing to.

Thank you in advance!

1
1 reply