-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site timer and app timer might go out of sync #86
Comments
As seen here I guess not an actual Hauk issue per se. Not sure these can be synced better. |
It's hard to properly verify if the devices are actually synced. Does it still happen with them in sync? |
Looks better when (almost) in sync, yes. |
This issue actually appears to be caused by a server/browser de-sync rather than the other issue which is an app/browser de-sync problem. I can possibly fix this by having the backend tell the browser what time it actually is, and then letting the browser adjust its perception of time based on that, taking the offset into account. |
Time traveling only causes problems, so the browser will now reject its own understanding of time and trust the server instead. |
Server/app HEAD
Share, open browser, gps lock, see "2min ago", put device offline, see "10min ago", put device online, some time pass, browser says EXPIRED on top...looking at the device...still 1min 22sec to go
The text was updated successfully, but these errors were encountered: