You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
property has never been set, so minDistance and minTimeInterval checks do not work.
iflet previousLocation = lastLocation {if options.minDistance > kCLDistanceFilterNone,
previousLocation.distance(from: data)> options.minDistance {return.notMinDistance // minimum distance since last location is not respected.
}iflet minInterval = options.minTimeInterval,
previousLocation.timestamp.timeIntervalSince(Date())>= minInterval {return.notMinInterval // minimum time interval since last location is not respected.
}}
The text was updated successfully, but these errors were encountered:
malcommac
changed the title
lastLocation property has never been set
lastLocation property has never been set on first pass inside GPSRequest (minDistance/minInterval filtering does not work)
Dec 24, 2020
malcommac
changed the title
lastLocation property has never been set on first pass inside GPSRequest (minDistance/minInterval filtering does not work)
minDistance/minInterval filtering does not work (lastLocation property has never been set on first pass inside GPSRequest)
Dec 24, 2020
Thank you for your analysis. Yes in fact lastLocation has never been set on first valid location therefore filtering never worked. I fixed it for 5.0.3.
property has never been set, so minDistance and minTimeInterval checks do not work.
The text was updated successfully, but these errors were encountered: