From 13ab708b239a7baa54a72fd05c685def2c3d75c1 Mon Sep 17 00:00:00 2001 From: cp-ishita-g Date: Wed, 11 Dec 2024 10:16:44 +0530 Subject: [PATCH] update accuracy for location --- app/ios/Runner/LocationManager.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/ios/Runner/LocationManager.swift b/app/ios/Runner/LocationManager.swift index 774a13e4..fba5e56d 100644 --- a/app/ios/Runner/LocationManager.swift +++ b/app/ios/Runner/LocationManager.swift @@ -25,7 +25,7 @@ class LocationsHandler: NSObject, ObservableObject, CLLocationManagerDelegate { super.init() manager.delegate = self manager.distanceFilter = 10 - manager.desiredAccuracy = kCLLocationAccuracyBest + manager.desiredAccuracy = kCLLocationAccuracyBestForNavigation manager.allowsBackgroundLocationUpdates = true manager.pausesLocationUpdatesAutomatically = false }