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

Turn off tracking on closing app #80

Open
Usernameclk opened this issue Feb 6, 2024 · 4 comments
Open

Turn off tracking on closing app #80

Usernameclk opened this issue Feb 6, 2024 · 4 comments

Comments

@Usernameclk
Copy link

Usernameclk commented Feb 6, 2024

Would it be possible to enable the app to turn off tracking when you come out of the app. Currently the only way to see if you have left the tracking on is to reopen the app and it immediately starts tracking you and announcing your location.
I don’t always remember to physically turn off service status when I am exiting the app and I am uncomfortable that it tells colleagues across the uk my location when I open the app to check it is turned off!

Big fan of the app though - incredibly useful.

@tananaev
Copy link
Member

tananaev commented Feb 6, 2024

If you close the app, it will stop tracking. If you minimize the app, it won't.

@Usernameclk
Copy link
Author

If you minimize the app it is still tracking in the background.. I understand that so I can use Traccar client in the background whilst using other apps.

if you swipe the app off, ) rather than physically going in to the app and turning off the service status) the service status is still on but it stops tracking. It only starts tracking again when you reopen the app. Strava, for example stops tracking you completely if you swipe the app off the screen. I was just wondering if there was a way to set it so that if I swipe the app off the screen it automatically turns off my service status and it stops tracking me.

@tananaev
Copy link
Member

tananaev commented Feb 6, 2024

If you know how Strava is doing it, we can try implementing it. I have a suspicion they might be using push notifications, which is against Apple policy.

@Usernameclk
Copy link
Author

I’m not any kind of IT expert so I have asked a friend… I hope his reply makes sense to you, not sure I fully understand his terminology!

‘’I would agree that generally you would want to stop, or at least pause the tracking when the app closes. The developer should be able to subscribe to a system event to enable this.
That being said, they might want to add a feature for when you restart the app to ask the user if they want to continue tracking or not.
If they don’t get an event when the app closes, they certainly get one when the app is opened. At that point, if the tracking was still enabled, they should be able to stop it before it sends any location data.’’

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

2 participants