mapbox-navigation-ios icon indicating copy to clipboard operation
mapbox-navigation-ios copied to clipboard

CarPlayNavigationViewController and RouteController should share location manager

Open 1ec5 opened this issue 4 years ago • 0 comments

CarPlayNavigationViewController and RouteController own two independent location managers. NavigationService doesn’t have the ability to respond to two different location managers at the same time, so #3393 has to keep the two location managers in sync, selectively shielding one from notifications meant for the other. CarPlayNavigationViewController should share a location manager with RouteController, just like the two classes share a NavigationService.

/ref https://github.com/mapbox/mapbox-navigation-ios/pull/3393#discussion_r732090388 /cc @mapbox/navigation-ios

1ec5 avatar Oct 27 '21 18:10 1ec5