New
v3.17.0
Packaging
- MapboxNavigationCore now requires MapboxMaps v11.17.0
- MapboxNavigationCore now requires MapboxNavigationNative v324.17.0
API Deprecations
- Deprecated
RouteVoiceController.init(routeProgressing:rerouteStarted:fasterRouteSet:speechSynthesizer:)in favor of the newRouteVoiceController.init(routeProgressing:rerouteSoundTrigger:speechSynthesizer:).
Audio
- Audio playback operations (play, stop, set volume) of the
AVAudioPlayerwithin theMapboxSpeechSynthesizerare now triggered on a background thread. This change minimizes the risk of the application hanging during voice instruction playback. - Improved reroute sound logic. The reroute sound now plays only when a new route is fetched and applied, rather than when rerouting starts. This applies to both automatic reroutes and faster route scenarios.
- Fixed an issue that audio sessions activated by the SDK (for playback of voice instructions and reroute sound) were not interrupting spoken audio content playback from other applications (e.g. Podcasts).
Directions
- Added detection of duplicated URL request parameters derived from
DirectionsOptions,IsochroneOptions, andMatrixOptions- an error is logged when duplicates are found.