CarPlay does not recognise app toggle and its voice engine keeps speaking even when the user toggles to a different app.Would appreciate any help from your end which could enable us to fix this.
CarPlay navigation apps must use the following audio session configuration when playing voice prompts for upcoming maneuvers.
AVAudioSessionCategoryOptionDuckOthers allows voice prompts to duck (lower the volume) for other apps such as music while your audio is played.
Try setting up the audio session for your navigation app's voice engine using the above configuration.
Set the audio session category to AVAudioSessionCategoryPlayback.
Set the audio session mode to AVAudioSessionModeVoicePrompt.
Set the audio session category options to AVAudioSessionCategoryOptionInterruptSpokenAudioAndMixWithOthers and AVAudioSessionCategoryOptionDuckOthers.
AVAudioSessionCategoryOptionDuckOthers allows voice prompts to duck (lower the volume) for other apps such as music while your audio is played.
Try setting up the audio session for your navigation app's voice engine using the above configuration.