Replace paid flutter_background_geolocation with free flutter_foreground_task

Replace proprietary flutter_background_geolocation (requires paid license
for Android release builds) with free flutter_foreground_task package.
Background location tracking now uses foreground service with periodic
geolocation updates every 30 seconds.
This commit is contained in:
dmit.b
2026-06-25 13:24:24 +03:00
parent 5f59e17da8
commit 506608c508
6 changed files with 105 additions and 75 deletions
-1
View File
@@ -16,7 +16,6 @@ void main() {
testWidgets('App loads login screen', (WidgetTester tester) async {
final bgGeo = BackgroundGeoService();
await bgGeo.init();
await bgGeo.initNotifications();
await tester.pumpWidget(MyApp(
settingsService: SettingsService(),
bgGeo: bgGeo,