rosenpin / Goaly

Goaly support repo
5 stars 0 forks source link

[CHANGE] Prioritize local data over Google data #28

Closed rosenpin closed 1 year ago

rosenpin commented 1 year ago

Change the DBs so in case of mismatch the most recent data will be used.
Currently we sync the Google data into local DB on every launch
We should change it to use local data by default and update from Google on startup only if the Google data is more recent/isn't empty
In case the Google data is corrupted/empty, update the Google data to match the local data.
In addition, we should use the local data while the app is running and update the Google DB as a backup, instead of a state (seems like it's not stable) This should also solve https://github.com/rosenpin/Goaly/issues/27 among other bugs and make the app faster overall

rosenpin commented 1 year ago

As we spoke in zoom meeting. details in google drive

rosenpin commented 1 year ago

solved in 1.1.5