mickstar / Zoo-For-Zotero

This is an Android app for viewing Zotero libraries.
574 stars 54 forks source link

Work offline reliably #154

Open sjmduncan opened 2 years ago

sjmduncan commented 2 years ago

If the app has been dismissed from the recent apps list, and then launched without an internet connection:

I have to re-dismiss and re-launch the app to get it to try again, so this requires on average 10 minutes to start the app while I'm offline.

Why not use the connectivity state API and skip the connection attempt if the device is offline? Not sure why it fails to get past the loading screen after that in my case, but if retries were quicker it would be a whole lot less frustrating.

mickstar commented 2 years ago

Thank you for your suggestion You're absolutely right and i should use the connection state to detemine whether it attempts to load the liibrary it's an easy fix and i hope to have time to do it in the future.