scientifichackers / flutter_pdf_viewer

A native PDF viewer for flutter.
MIT License
107 stars 40 forks source link

Can we get more analytics? #26

Closed ammaratef45 closed 5 years ago

ammaratef45 commented 5 years ago

The PDF opens on the page we closed it last time, can we get this info with analytics like showing last_opened_page or something like that?

We can even create a new function for it

devxpy commented 5 years ago

The atExit callback should give you the last opened page when the pdf viewer exits.

Or you can use analyticsCallback for more fine-grained tracking.

ammaratef45 commented 5 years ago

@devxpy Thanks, atExit solved it, however, analyticsCallback is never called (I've enabled it)

devxpy commented 5 years ago

Okay, please create a new issue for analyticsCallback.