MaikuB / flutter_local_notifications

A Flutter plugin for displaying local notifications on Android, iOS, macOS and Linux
2.46k stars 1.4k forks source link

Custom sound not working #1424

Closed suyxx closed 2 years ago

suyxx commented 2 years ago

cloned the project :-

generated app from example package

on click of button "show notification with custom sound"

in both real device (android 9) motorola-x4 and emulator android(11) -pixel5

notification is showing but sound doesn't play.

notification sound works on android 8 on tab

MaikuB commented 2 years ago

You'll need to check your device settings and your environment. There are no (known ) issues with notification sounds and that you can get this issue by running the example app should indicate this as many others (myself included) have successfully run it without issues. Recently, another developer had run into an issue and it turned out to be an problem on their end https://github.com/MaikuB/flutter_local_notifications/issues/1410