mapbox-navigation-ios
mapbox-navigation-ios copied to clipboard
CarPlayNavigationViewController and RouteController should share location manager
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