-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Labels
Description
When BackgroundLocationManager calls ClearRegions, all monitored locations in CoreLocation are being stopped. If users creates a RegionConfig with less than the maximum region per sandboxed app (20), then any other regions that app was monitoring via CoreLocation would also be stopped.
fileprivate func clearRegions() {
locationManager.monitoredRegions.forEach { region in
locationManager.stopMonitoring(for: region)
}
}Reactions are currently unavailable