Add schedule configuration + service toggles to Settings & deeplinks#122
Open
pissten wants to merge 3 commits intotraccar:mainfrom
Open
Add schedule configuration + service toggles to Settings & deeplinks#122pissten wants to merge 3 commits intotraccar:mainfrom
pissten wants to merge 3 commits intotraccar:mainfrom
Conversation
Author
tananaev
reviewed
Dec 13, 2025
tananaev
reviewed
Dec 13, 2025
5a143bf to
73305d0
Compare
1602636 to
32edf03
Compare
rossigee
added a commit
to rossigee/traccar-client
that referenced
this pull request
Feb 25, 2026
- Add scheduled tracking with start/stop times - Extend deeplink support for schedule configuration - Add ScheduleService for background schedule syncing - Update Settings screen with schedule controls # Conflicts: # lib/preferences.dart
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Summary
Add schedule preferences (enable/start/stop) with defaults and
ScheduleService
to sync flutter_background_geolocation schedules.
Extend ConfigurationService/deeplink handling so startTime, stopTime, and service params update preferences, reconfigure geolocation, resync schedules, and optionally start/stop tracking.
Update Settings screen with a left-aligned “Enable schedule” switch and indented start/stop pickers that appear when enabled; add localization strings.
Deep-Link Reference
traccar://config?... supports url, id, accuracy, distance, interval, angle, heartbeat, fastest_interval, buffer, wakelock, stop_detection, startTime, stopTime, service
ref: README “Deep-Link Configuration”
Testing
flutter analyze
flutter test
Manual: toggled schedule in app, set start/stop times, verified schedule synced and service start/stop deeplink params worked.