On iOS, playing an audio attachment stops whatever is already playing (Music, Spotify, podcasts), and it does not come back when the clip ends. Could you please add a setting with two behaviors, both supported by AVAudioSession:
- Duck: Lower the other audio and play the attachment over it (
duckOthers), then restore the volume when the clip ends - Pause and resume: Interrupt the other audio, then deactivate the session with
notifyOthersOnDeactivationso the other app can resume.
Today the interruption happens without that deactivation, so other audio stays stopped.