Skip to content

Comments

Do not play reroute sound on alternatives switch#4822

Open
kried wants to merge 2 commits intolts/v2from
NAVIOS-2513
Open

Do not play reroute sound on alternatives switch#4822
kried wants to merge 2 commits intolts/v2from
NAVIOS-2513

Conversation

@kried
Copy link
Contributor

@kried kried commented Feb 19, 2026

Description

Fixes an issue introduced in #4808 related to the reroute sound when switching to an alternative route

@kried kried self-assigned this Feb 19, 2026
@kried kried requested a review from a team as a code owner February 19, 2026 16:51
routeOptions: options,
isProactive: false,
isAlternative: false) { [weak self] _ in
reason: .reroute) { [weak self] _ in
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does it detect if the reroute was previously detected (user has wandered off route) or if this reroute comes from invalidating alternative routes?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No such reroutes can happen in the v2 Nav SDK v2. This pull request only fixes the beep sound played on alternative switching, with reason: .alternative, e.g. the one happens here in rerouteControllerWantsSwitchToAlternative

@@ -1,5 +1,15 @@
# Changes to the Mapbox Navigation SDK for iOS

## v2.21.0
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

So, do we make a minor release in the end?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pull request contains a new public constant, so it can be released only in a minor release

@kried kried force-pushed the NAVIOS-2513 branch 2 times, most recently from 49fb27e to 330a091 Compare February 20, 2026 11:40
@kried kried marked this pull request as draft February 20, 2026 13:06
@kried kried marked this pull request as ready for review February 20, 2026 15:17
@kried kried requested a review from Udumft February 20, 2026 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants