No sound on desktop notifications anymore ?
I'm currently working with Tauri v2, and I'm trying to send notifications with sound on desktop platforms (macOS, Windows, etc.).
From the v1 documentation, it's clear that we could set a sound option for notifications:
The sound file to play when the notification is shown.
However, in the v2 documentation, the sound option is explicitly noted as:
The sound resource name. Only available on mobile.
It seems that this functionality was either removed or not yet implemented for desktop in v2.
- Is there a plan to bring back desktop notification sounds support in v2?
- If not, could it be considered for a future release?
Thanks for the amazing work on Tauri!
Oh damn. In alpha times we planned to bring this back before stable but completely lost track of it. This should be relatively easy to bring back since notify-rust has sound support and it should look quite similar to the v1 impl so probably a straight forward port.
Waiting for the PR to be merged, however got the sound working by adding a custom sound playback on when notification is sent!