Skip to content
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

Split OFFLINE status #81

Closed
licaon-kter opened this issue Dec 9, 2019 · 2 comments
Closed

Split OFFLINE status #81

licaon-kter opened this issue Dec 9, 2019 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@licaon-kter
Copy link
Contributor

...in either NO LOCATION and OFFLINE (no connection from the app)

What I didn't check, does the app stop reporting if there's no GPS lock? Maybe it could report online+nolock too, less often though.

@bilde2910
Copy link
Owner

does the app stop reporting if there's no GPS lock?

Yes. The location updates from the app are triggered by Android itself when a GNSS update is received by the geolocation sensors; when a fix can't be obtained, Android simply stops triggering the Hauk location updates, which is responsible for sending messages to the backend. I think maybe a better option would be to relabel the "offline" status into "location unknown" or some shorter variation instead. "Offline" strictly means that the client does not have connectivity, while "location unknown" just means that the backend hasn't received a location update in a while, which could be either because it's actually offline, or because the client itself doesn't know where it is.

@licaon-kter
Copy link
Contributor Author

Actually this is sort of a duplicate of #76

@bilde2910 bilde2910 added the duplicate This issue or pull request already exists label Dec 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants