allowBackgroundLocationUpdates property

bool allowBackgroundLocationUpdates
final

Flag to allow the app to receive location updates in the background (iOS only)

For this setting to work Info.plist should contain the following keys:

  • UIBackgroundModes and the value should contain "location"
  • NSLocationAlwaysUsageDescription

Implementation

final bool allowBackgroundLocationUpdates;