From 49c406e62bfce8eb5463a144d9b535fc0d2be924 Mon Sep 17 00:00:00 2001 From: Marcin Rufer Date: Fri, 24 Oct 2025 14:30:25 +0200 Subject: [PATCH] SDK's audio sessions interrupt spoken audio from other apps. --- CHANGELOG.md | 4 ++++ Sources/MapboxNavigation/Audio/AVAudioSessionHelper.swift | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a3e19038c60..cfc3e488e02 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,10 @@ * Fixed an issue where the initially set CarPlay navigation camera values were being overwritten when updates to this property were disabled. +### Audio + +* 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). + ## v2.20.2 ### Routing diff --git a/Sources/MapboxNavigation/Audio/AVAudioSessionHelper.swift b/Sources/MapboxNavigation/Audio/AVAudioSessionHelper.swift index dd9f77edf42..12e44dee57d 100644 --- a/Sources/MapboxNavigation/Audio/AVAudioSessionHelper.swift +++ b/Sources/MapboxNavigation/Audio/AVAudioSessionHelper.swift @@ -15,7 +15,7 @@ final class AVAudioSessionHelper { let settings: Settings = Settings( category: .playback, mode: .voicePrompt, - options: [.duckOthers, .mixWithOthers] + options: [.interruptSpokenAudioAndMixWithOthers, .duckOthers] ) private init() {}