I recently updated to Release v4.1.1 and encountered some deprecated functions within the location request configuration. The new recommended approach in this release is to use the LocationRequest.Builder for location request configuration.
I guess the docs are not updated yet, can you provide an example on how to use it?
Deprecated code snippet:
Locus.configure {
request {
fastestInterval = 1000
priority = LocationRequest.PRIORITY_HIGH_ACCURACY
interval = 1000
maxWaitTime = 2000
}
}