Interesting in development
background_geo_tracker: background route tracking
Records a route on iOS and Android in the background and uploads the points to a server from native code, even when the app has been evicted from memory.
Recording a route in the background on mobile platforms is not simple: the system evicts the app, limits work in battery saver and asks for separate permissions. If point collection depends on Dart code, tracking breaks easily and the server stops receiving coordinates.
background_geo_tracker collects points and uploads them to the backend in the native layer, without a live Dart isolate, and a session keeps running in the background and resumes by itself after the app is evicted. Points leave the queue only once the server confirms them, and when the device stands still the package turns off GPS and turns it back on when movement starts. Power modes help save battery, and how often points are written depends on speed.
The package suits teams that need a continuous route track on iOS and Android uploaded to their own server. The README covers setup for both platforms and common pitfalls in detail, which makes it easier to get the integration working.
Open on pub.dev

