invertase / react-native-notifee

Moved to https://github.com/invertase/notifee
https://invertase.io/blog/open-sourcing-notifee
Other
465 stars 31 forks source link

Stopwatch end sound #311

Closed GaylordP closed 3 years ago

GaylordP commented 3 years ago

Hello,

Thank you very much for your library which I have just discovered, I will take the paid version tomorrow.

Is it possible to set an end sound for your stopwatch (Like the native android stopwatch) ? Ideally, I would like a sound played the last 5 seconds (dring, dring, dring, dring, dring and stop sound)

I looked in your documentation but I did not find it (however my English is bad, I am French).

If your library does not allow this, I am open to suggestions to work around the problem :)

helenaford commented 3 years ago

hey, good question. From a quick scan of the native android docs, nothing seems to be built-in to do this. One workaround could be to update the notification (i.e. call displayNotification(...)) again with sound.