feat: Implement background location tracking service

- Removed existing app icons from the asset catalog.
- Added new `Contents.json` for asset catalog.
- Updated `Info.plist` to include background modes and task scheduler identifiers.
- Exposed BLE service in `ConnectionProvider` for background tracking.
- Enhanced `MapTab` to support background location tracking with new service.
- Added `BackgroundLocationService` to manage location updates in the background.
- Updated `SettingsScreen` to allow users to configure GPS update distance and toggle background tracking.
- Implemented functionality to send location updates via BLE in `MeshCoreBleService`.
- Updated dependencies in `pubspec.yaml` for background service support.
- Adjusted `TileCacheService` to ensure ObjectBox is initialized only once.
This commit is contained in:
Janez T
2025-10-14 09:53:21 +02:00
parent 22624f64c0
commit 4fae6e4c55
35 changed files with 707 additions and 234 deletions

View File

@@ -2,7 +2,18 @@
"permissions": {
"allow": [
"Bash(flutter analyze:*)",
"Bash(flutter devices:*)"
"Bash(flutter devices:*)",
"Bash(flutter build:*)",
"Bash(flutter install:*)",
"Bash(open:*)",
"Bash(xcrun devicectl device uninstall app:*)",
"Bash(pod repo update:*)",
"Bash(pod install)",
"Bash(flutter clean:*)",
"Bash(flutter pub get:*)",
"Bash(flutter run:*)",
"Bash(nc:*)",
"Bash(pkill:*)"
],
"deny": [],
"ask": []