npm react-native-volume-manager 2.0.6
Release 2.0.6

latest releases: 2.2.0, 2.0.8, 2.0.7...
23 months ago

2.0.6 (2024-12-15)

Changelog

💥 Breaking Changes

  • Renamed isRingerListenerEnabled to isAndroidDeviceSilent to better reflect its functionality

Asynchronously checks if the device is in a silent state on Android (including silent mode, vibrate mode, or muted volume / do not disturb mode).

  • iOS returns null

Migration Guide

If you were previously using isRingerListenerEnabled(), you'll need to:

  1. Update the function name to isAndroidDeviceSilent()
  2. Add iOS platform check if used in cross-platform code

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

NewReleases is sending notifications on new releases.