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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user