VolumeListener
- When you register a VolumeListener on iOS, it will now start the AudioSession with AVAudioSessionCategoryAmbient and MixWithOthers. This means, it does not stop running background music. If you want to disable background audio music, make sure to call setCategory and select a different category where background music is actually stopped.
Fixes
- AudioSession was not set after app was backgrounded and foregrounded, which caused the listener not react anymore.
- Events won't be swallowed anymore
- New method
showNativeVolumeUI(config: { enabled: bool })added (iOS only currently) to disable the volume toast globally.