Repository navigation
feat(android): report guidance to Android Auto's NavigationManager - #22
Merged
Merged
Conversation
Calls navigationStarted/navigationEnded as the shared session guides and stops, stops guidance on the host's onStopNavigation, simulates guidance under auto drive, and clears the surface callback when the car screen is destroyed.
mfazekas
marked this pull request as ready for review
October 28, 2026 01:49
Closed
mfazekas
added a commit
that referenced
this pull request
Oct 28, 2026
…modules - Android Auto reports guidance to NavigationManager since #22. - Xcode 26 explicit modules start with React Native 0.87 (rnmapbox/maps#4376). - yarn.lock for the react-native peer range.
mfazekas
added a commit
that referenced
this pull request
Oct 28, 2026
* docs: newcomer and DX fixes for 0.1.0 - README: 0.1.0 compatibility row, pre-1.0 banner, pinned @rnmapbox/maps install, location permission section, "Why" bullets and a migration table for the homee and pawan-pk packages. - Example: request Android location permission before device-location guidance on the RNNavigationView screen. - Plugin: warn at prebuild when the @rnmapbox/maps plugin's RNMapboxMapsVersion doesn't match the Navigation SDK's Maps version. - package.json: react-native peer >=0.79 (as @rnmapbox/maps), more keywords. - Feature request issue template, replacing the link to the disabled Discussions ideas category. * docs: Android Auto NavigationManager and React Native 0.87+ explicit modules - Android Auto reports guidance to NavigationManager since #22. - Xcode 26 explicit modules start with React Native 0.87 (rnmapbox/maps#4376). - yarn.lock for the react-native peer range.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Android Auto didn't know when the app was navigating, which the Android for Cars quality guidelines require for navigation apps. The car session now calls
navigationStarted/navigationEndedas the shared session starts and stops guidance. It stops guidance when the host callsonStopNavigation, and JS sees that as camera stateidle, the same as ending a trip on CarPlay. It simulates guidance afteronAutoDriveEnabled, which Play review uses. The car screen also clears its surface callback on destroy.Follow-up to finding 11 of the #17 review.
updateTripand maneuver/travel estimates in theNavigationTemplatearen't part of this PR.Compiles in the Expo example (debug). Not yet tested on the Desktop Head Unit, which isn't installed on the machine this was built on.