Conversation
|
@frederoni where exactly can they disable it? |
|
On the location manager before you start navigation let locationManager = MyLocationManager()
locationManager.isMonitoringBatteryState = false
…or reaching through the navigation and route controller navigationViewController.routeController.locationManager.isMonitoringBatteryState = false |
|
I think we should rethink this. If the goal is to have control over the |
7e3291d to
966cd99
Compare
|
Made a few changes here. We always observe the battery state but only update the desired accuracy when However, the actual battery monitoring is something that the RouteController is responsible for. |
966cd99 to
515703f
Compare
bsudekum
left a comment
There was a problem hiding this comment.
Nice, this looks great.
This PR exposesisMonitoringBatteryStateso a user can disable it and use their own desired accuracy.@bsudekum @ericrwolfe 👀