Skip to content

v1.8.1 — Fix iOS periodic mode persistent location indicator

Choose a tag to compare

@GalacticTitan GalacticTitan released this 27 Mar 17:37
· 3100 commits to main since this release

What's Changed

Bug Fix

  • iOS Periodic Mode: Removed CLBackgroundActivitySession from 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

  • CLBackgroundActivitySession is now only used in continuous and geofence tracking modes where persistent background location is expected
  • CLServiceSession (iOS 18+) is kept for all modes — it preserves authorization without showing any indicator
  • Background execution for periodic fixes is handled via BackgroundTaskHelper, temporary allowsBackgroundLocationUpdates, and BGAppRefreshTask

Tests

  • Added BackgroundActivitySessionManagerTests, ServiceSessionManagerTests, and PeriodicModeBackgroundSessionTests
  • 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