Open luisestudioalfa opened 4 years ago
By default, HIGH priority notifications will play a sound. Setting priority to DEFAULT or LOW should make it silent.
Please note that sound/no sound is user-configurable per priority, so it's possible for the user to configure all priorities to have sound, in which case there's no stopping it.
The default priority for this plugin's notification is DEFAULT, so I'm suspecting this may be the case.
You can try changing the priority to LOW, but if that still plays a sound, the setting will have to be changed on the device.
await ForegroundService.notification.setPriority(AndroidNotificationPriority.LOW);
Yep, it worked, thank you!
Is possible to remove or disable the notification sound just for the foreground notification? I want notifications with sound via firebase, but i every 5 seconds the app plays the notification sound from the foreground service.
Thank you in advance.