Skip to content

v3.17.0

Latest

Choose a tag to compare

@kried kried released this 09 Dec 14:46
· 18 commits to main since this release

Packaging

API Deprecations

  • Deprecated RouteVoiceController.init(routeProgressing:rerouteStarted:fasterRouteSet:speechSynthesizer:) in favor of the new RouteVoiceController.init(routeProgressing:rerouteSoundTrigger:speechSynthesizer:).

Audio

  • Audio playback operations (play, stop, set volume) of the AVAudioPlayer within the MapboxSpeechSynthesizer are 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, and MatrixOptions - an error is logged when duplicates are found.