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

Add a check if Location Setting is enabled #461

Open
Falke-Design opened this issue Mar 3, 2024 · 0 comments
Open

Add a check if Location Setting is enabled #461

Falke-Design opened this issue Mar 3, 2024 · 0 comments

Comments

@Falke-Design
Copy link

Is your feature request related to a problem? Please describe.
When I enable the Traccar Service with Location disabled, it starts but it will never receive any locations. Doesn't matter if GPS, NETWORK or PASSIVE provider, all of them need Location enabled.

Describe the solution you'd like
First I would suggest to add a check if the Location Settings are enabled while enabling the Service. If Location is not enabled stop the service again.

Second I would suggest to add a listener / broadcast to check if Location is disabled while running the Service and if it gets disabled to show a Notification that no location updates are sent anymore and that the Location Setting should be enabled again. Also adding a Message to "Status" would make sense too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant