Add Android background geolocation with notification error handling

Add flutter_background_geolocation for background location tracking on Android.
Service automatically sends coordinates to server when app is in background.
Error messages are shown as system notifications using flutter_local_notifications.
This commit is contained in:
dmit.b
2026-06-25 13:20:39 +03:00
parent 86e9b5a22a
commit 5f59e17da8
8 changed files with 281 additions and 13 deletions
+2
View File
@@ -42,6 +42,8 @@ dependencies:
latlong2: ^0.9.1
geolocator: ^14.0.2
shared_preferences: ^2.2.2
flutter_background_geolocation: ^4.13.0
flutter_local_notifications: ^18.0.1
dev_dependencies:
flutter_test: