Repository navigation
v1.8.1 — Fix iOS periodic mode persistent location indicator
What's Changed
Bug Fix
- iOS Periodic Mode: Removed
CLBackgroundActivitySessionfrom periodic tracking mode. This was causing the blue location indicator to remain permanently visible in the status bar, even though periodic mode only uses GPS briefly (~5 seconds) per fix.
Details
CLBackgroundActivitySessionis now only used in continuous and geofence tracking modes where persistent background location is expectedCLServiceSession(iOS 18+) is kept for all modes — it preserves authorization without showing any indicator- Background execution for periodic fixes is handled via
BackgroundTaskHelper, temporaryallowsBackgroundLocationUpdates, andBGAppRefreshTask
Tests
- Added
BackgroundActivitySessionManagerTests,ServiceSessionManagerTests, andPeriodicModeBackgroundSessionTests - All 259 iOS native tests pass
Versions
| Component | Version |
|---|---|
| Flutter packages | 1.8.1 |
| iOS SDK (CocoaPods) | 1.0.1 |
| Android SDK (Maven Central) | 1.0.1 |
Full Changelog: v1.8.0...v1.8.1