adaptive_location_tracker 0.0.7 copy "adaptive_location_tracker: ^0.0.7" to clipboard
adaptive_location_tracker: ^0.0.7 copied to clipboard

PlatformAndroid

A battery-efficient adaptive location tracker with offline sync, Kalman filtering, and foreground service support.

0.0.7 #

  • Update: Updated example app URL.

0.0.6 #

  • New (Robustness): Implemented "Store-and-Forward" architecture. All locations are now saved to a local FIFO queue before sending, ensuring no data loss even in poor network conditions.
  • New: Hybrid WebSocket Logic. Attempts direct zero-latency send via WebSocket if connected, correctly falling back to the reliable DB queue if it fails.
  • Improved: Sync Scheduler now uses Head-of-Line Blocking with infinite retry to guarantee chronological order of delivery.
  • Improved: Automatic database cleanup when the tracking service is stopped.

0.0.5 #

  • Fix: Persist extraData in offline database. This ensures that when syncing offline location points, they retain the extraData metadata (e.g., job IDs) that was active when they were recorded, rather than using the currently active metadata.
  • Internal: Database migration from version 2 to 3 to add extra_data column.

0.0.4 #

  • Fix: Changed payload timestamp to use System.currentTimeMillis() instead of GPS time. This resolves issues with incorrect timestamps on certain devices/providers.

0.0.3 #

  • Breaking Change: Internal tracking engine completely replaced with a robust State Machine.
  • New: Added ACTIVITY_RECOGNITION support for battery-efficient motion detection.
  • New: "Lock" mechanism for stationary states to prevent GPS drift/spiderwebbing.
  • New: "Breakout" logic to ensure movement is verified before tracking resumes.
  • Improved: FusedLocationManager wrapper for cleaner code and better configuration.
  • Updated: Documentation with battery optimization warnings and permission details.

0.0.2 #

  • Added WebSocket support (isWebSocket flag).
  • Added support for passing extraData to be included in location payloads.
  • Updated start() method to return a Future<bool> for success/failure status.
  • Improved example app with full test bench.

0.0.1 #

  • Initial release.
  • Added background location tracking with foreground service.
  • Implemented adaptive Kalman Filter for location smoothing.
  • Added offline storage (SQLite) with auto-sync capability.
  • Added configurable HTTP endpoint and headers.
  • Added outlier detection and battery efficiency optimizations.
4
likes
160
points
327
downloads

Publisher

unverified uploader

Weekly Downloads

A battery-efficient adaptive location tracker with offline sync, Kalman filtering, and foreground service support.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on adaptive_location_tracker

Packages that implement adaptive_location_tracker