awesomeaiden / hydRate-Android

Android app by Aiden Gonzalez and Will Sztejnberg
0 stars 0 forks source link

Implement local SQlite database #11

Open awesomeaiden opened 5 years ago

awesomeaiden commented 5 years ago

Mirror firebase database but on local device. Load from local first, and refresh at appropriate times (when opening app, when user hits a refresh button or something). Have to be smart with loading - only load records from a given timestamp and newer. Records need to therefore be timestamped (new reviews, fountains, etc timestamped on creation, update, anything else).

awesomeaiden commented 5 years ago

On second thought, this could probably be just like google maps where you can download a map of your local area. Map expires after 30 days or so and asks you to redownload. Totally user controlled, just as an option if they want to have a backup or use some sort of "offline mode"