Background location tracker for Traccar servers with offline buffering and configurable intervals
Find a file
fiatcode bbd51d1c35
fix: critical bugs preventing location reporting to server
- Send config to native before starting tracking (SharedPreferences sync)
- Register ConnectivityReceiver for network state detection
- Fix Settings number fields using TextEditingControllers
- Cancel stream subscription on widget dispose (memory leak)
- Replace WorkManager with AlarmManager for heartbeat
- Add log cleanup for logs older than 24 hours
- Change HTTP method from GET to POST

These fixes resolve the 'device always offline' issue where:
1. Config was not being sent to native service
2. ConnectivityReceiver was never registered
3. Settings number fields were not saving
4. Heartbeat never fired due to WorkManager process isolation
5. Server expected POST not GET
2026-04-30 15:38:24 +07:00
android fix: critical bugs preventing location reporting to server 2026-04-30 15:38:24 +07:00
docs/superpowers fix: critical bugs preventing location reporting to server 2026-04-30 15:38:24 +07:00
lib fix: critical bugs preventing location reporting to server 2026-04-30 15:38:24 +07:00
test fix: implement updateTrackingConfig and getStatus in BridgeModule 2026-04-30 13:09:57 +07:00
.gitignore fix: address analysis issues - remove unused import, fix deprecated APIs, update test 2026-04-30 11:40:56 +07:00
.metadata fix: address analysis issues - remove unused import, fix deprecated APIs, update test 2026-04-30 11:40:56 +07:00
analysis_options.yaml fix: address analysis issues - remove unused import, fix deprecated APIs, update test 2026-04-30 11:40:56 +07:00
BUG_REPORT.md fix: critical bugs preventing location reporting to server 2026-04-30 15:38:24 +07:00
pubspec.lock fix: address analysis issues - remove unused import, fix deprecated APIs, update test 2026-04-30 11:40:56 +07:00
pubspec.yaml fix: address analysis issues - remove unused import, fix deprecated APIs, update test 2026-04-30 11:40:56 +07:00
README.md fix: address analysis issues - remove unused import, fix deprecated APIs, update test 2026-04-30 11:40:56 +07:00

traccar_client

A new Flutter project.

Getting Started

This project is a starting point for a Flutter application.

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.