Skip to content

Commit 5fc5e83

Browse files
committed
Update LocationManagerAsync.swift
1 parent 27b31a2 commit 5fc5e83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/d3-async-location/LocationManagerAsync.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ final class LocationManagerAsync: ILocationManagerAsync {
2424
/// - distanceFilter: The minimum distance (in meters) that the device must move before an update event is generated.
2525
/// - backgroundUpdates: A Boolean value indicating whether the app should receive location updates when suspended.
2626
init(
27-
_ accuracy: CLLocationAccuracy?,
28-
_ activityType: CLActivityType?,
27+
_ accuracy: CLLocationAccuracy? = kCLLocationAccuracyBest,
28+
_ activityType: CLActivityType? = .other,
2929
_ distanceFilter: CLLocationDistance?,
3030
_ backgroundUpdates: Bool = false
3131
) {

0 commit comments

Comments
 (0)