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 27b31a2 commit 5fc5e83Copy full SHA for 5fc5e83
Sources/d3-async-location/LocationManagerAsync.swift
@@ -24,8 +24,8 @@ final class LocationManagerAsync: ILocationManagerAsync {
24
/// - distanceFilter: The minimum distance (in meters) that the device must move before an update event is generated.
25
/// - backgroundUpdates: A Boolean value indicating whether the app should receive location updates when suspended.
26
init(
27
- _ accuracy: CLLocationAccuracy?,
28
- _ activityType: CLActivityType?,
+ _ accuracy: CLLocationAccuracy? = kCLLocationAccuracyBest,
+ _ activityType: CLActivityType? = .other,
29
_ distanceFilter: CLLocationDistance?,
30
_ backgroundUpdates: Bool = false
31
) {
0 commit comments