Skip to content

Commit

Permalink
fix: enable navigation map on carplay (#315)
Browse files Browse the repository at this point in the history
  • Loading branch information
illuminati1911 authored Oct 24, 2024
1 parent 2e1137e commit aa56cbe
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/react-native-navigation-sdk/BaseCarSceneDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ - (void)templateApplicationScene:(CPTemplateApplicationScene *)templateApplicati
self.mapTemplate.mapDelegate = self;

self.navViewController = [[NavViewController alloc] init];
self.navViewController.isNavigationEnabled = YES;
self.carWindow.rootViewController = self.navViewController;
[self.interfaceController setRootTemplate:self.mapTemplate animated:YES completion:nil];
[NavModule registerNavigationSessionReadyCallback:^{
Expand Down

0 comments on commit aa56cbe

Please sign in to comment.