katescarth / literary-halifax-mobile-app

Literary Halifax Mobile App
GNU General Public License v3.0
0 stars 0 forks source link

Let user know that app requires wifi/data #8

Closed cgeroux closed 7 years ago

cgeroux commented 7 years ago

If I start the app up without wifi things don't look right, there should be a way to detect that the user doesn't have wifi/data connection and let them know, via pop message etc. that the app won't be fully functional without a data connection.

Will need to think a bit about differences between first time launch, and later launching it when data has already been cached as this message wouldn't be needed.

cgeroux commented 7 years ago

It might be good to detect when a connection has been established and reload content.

David-Owen-Walker commented 7 years ago

5c75b14a2b60a656681a3ed31a18e527586fd156 Displays a popup when the app starts with no connection (unless caching is on). Refreshing when the app comes online is introducing some odd bugs, so not comitted yet.

David-Owen-Walker commented 7 years ago

Related: d3e831ee57d94d336f85317a09e3577e5a542a7d displays a dummy map tile when there is no connection

David-Owen-Walker commented 7 years ago

de75ef5d8a2936ad0c3dc3f1bcbd98abe5341ff1 watches for a connection and refreshes when the app goes from offline to online. Closing.