WhereAreTheEyes
WhereAreTheEyes copied to clipboard
Show when was the last database update
0/, today I was marking some cameras, but I noticed that there was not any of my yesterday marks, I don't know if this is a bug, or if the local db was not updated. I think you can show in options when was the last update.
That's very odd. Cameras are only removed under very specific circumstances, and I didn't modify the database on the server side.
Do your cameras show up if you restart the app?
We only store the date cameras were added to the nearest half-day, to make tracking our users harder. So we could add when the database was last updated, but it won't be very accurate.
I think I misunderstood what you were asking for before. Displaying when the mobile app last refreshed its data should be trivial. We could add an option to display it in the status bar at the top of the screen, or could display the last database update on the 'help' page. We probably can't put it in the options screen because iOS limits how we can interact with that screen.
This is a client-only change, and looks like:
- Keep a static status variable tracking "last database update" on the client
- Display this information somewhere (probably the help screen, so it's out of the way), IFF we have loaded any data from the server
Let's make this change for v1.4, since it's so small and could be helpful.