CrossPT / flutter_plugin_pdf_viewer

A flutter plugin for handling PDF files. Works on both Android & iOS
BSD 3-Clause "New" or "Revised" License
92 stars 317 forks source link

app crashes on IOS when clicking the next page repeatedly #56

Open RafaelR7 opened 4 years ago

RafaelR7 commented 4 years ago

This happens only on IOS devices, when you open a pdf and click repeatedly on the next page, the app closes.

dganzella commented 4 years ago

i noticed this too. one thing I did is to add a custom UI, and then wait for page load finish to load a new page.

dganzella commented 4 years ago

(you dont need to disable the button, just make sure all calls to load are ignored until the page loading return, and if the loaded page is not the same as the one by the ui, load again)