tracelet_android 0.6.1
tracelet_android: ^0.6.1 copied to clipboard
Android implementation of the Tracelet background geolocation plugin.
tracelet_android #
Android implementation of the Tracelet background geolocation plugin.
This package uses Kotlin and native Android APIs (FusedLocationProvider, Room, WorkManager, Geofencing API) to provide production-grade background location tracking.
Native Features #
- Kalman Filter GPS Smoothing — Extended Kalman Filter implementation (
KalmanLocationFilter.kt) smooths raw GPS coordinates using device-reported accuracy as measurement noise. Produces cleaner tracks and eliminates jitter. Learn more → - Trip Detection —
TripManager.kttracks motion state transitions to detect trip start/stop. Each trip includes distance, duration, waypoints, and start/stop locations. Learn more → - Polygon Geofences — Ray-casting point-in-polygon algorithm in
GeofenceManager.ktfor arbitrary polygon containment checks alongside circular geofences. Learn more →
Usage #
You should not depend on this package directly. Instead, depend on tracelet which automatically includes this package on Android builds.
dependencies:
tracelet: ^0.5.0
For Android-specific setup (permissions, Gradle configuration), see the Android Setup Guide.
Related Packages #
| Package | Description |
|---|---|
tracelet |
App-facing Dart API — the only package you depend on |
tracelet_platform_interface |
Abstract platform interface |
tracelet_ios |
iOS implementation |
tracelet_web |
Web implementation |