We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1315be commit e4ff26cCopy full SHA for e4ff26c
Sources/AsyncLocationKit/AsyncLocationManager.swift
@@ -51,6 +51,10 @@ public final class AsyncLocationManager {
51
self.desiredAccuracy = desiredAccuracy
52
}
53
54
+ public func updateAccuracy(with newAccuracy: LocationAccuracy) {
55
+ locationManager.desiredAccuracy = newAccuracy.convertingAccuracy
56
+ }
57
+
58
public func requestAuthorizationWhenInUse() async -> CLAuthorizationStatus {
59
let authorizationPerformer = RequestAuthorizationPerformer()
60
return await withTaskCancellationHandler {
@@ -193,7 +197,6 @@ public final class AsyncLocationManager {
193
197
194
198
locationManager.stopRangingBeacons(satisfying: satisfying)
195
199
196
-
200
201
202
extension AsyncLocationManager {
0 commit comments