npm react-native-volume-manager 1.1.0
v.1.1.0

latest releases: 2.2.0, 2.0.8, 2.0.7...
4 years ago

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.

Don't miss a new react-native-volume-manager release

NewReleases is sending notifications on new releases.