English topic guide inspired by the original iOS Developer Notebook, expanded for both iOS and Android teams.
let manager = CLLocationManager() manager.requestWhenInUseAuthorization() manager.desiredAccuracy = kCLLocationAccuracyHundredMeters manager.startUpdatingLocation()
fusedClient.requestLocationUpdates( LocationRequest.Builder(Priority.PRIORITY_BALANCED_POWER_ACCURACY, 10_000).build(), callback, Looper.getMainLooper() )