hirbod / react-native-volume-manager

React Native module which adds the ability to change the system volume on iOS and Android, listen to volume changes and supress the native volume UI to build your own volume slider or UX. It can listen to iOS mute switch and ringer mode changes on Android (and let you set the ringer mode)
MIT License
216 stars 14 forks source link

Seeking Assistance to Implement Notification Volume Adjustment Based on User Settings #26

Closed zubyrbutt closed 4 months ago

zubyrbutt commented 5 months ago

Hi there,

I am currently working on a feature in my app that involves updating the notification volume according to user preferences. I'm seeking guidance and assistance on how to successfully implement this functionality.

The goal is to allow users to customize the notification volume within the app, ensuring a personalized and user-friendly experience. I would appreciate any insights, suggestions, or code snippets that could help me achieve this feature.

Thank you in advance for your support!

Screenshot_1702534584

zubyrbutt commented 5 months ago

I've found the solution. pass this object { type: 'notification' } await VolumeManager.setVolume(e, { type: 'notification' }); Thanks for the wonderful library.❤️