Add sound support for desktop notifications in Tauri v2#2678
Add sound support for desktop notifications in Tauri v2#2678lucasfernog merged 3 commits intotauri-apps:v2from
Conversation
Package Changes Through 4a4d72dThere are 4 changes which include deep-link with patch, deep-link-js with patch, notification with patch, notification-js with patch Planned Package VersionsThe following package releases are the planned based on the context of changes in this pull request.
Add another change file through the GitHub UI by following this link. Read about change files or the docs at github.com/jbolda/covector |
|
@Keerthi421 thanks for the PR. Waiting for this to be merged soon :) 👍 |
|
apologies if that wasn't obvious but i was waiting for the CI issues to be resolved before i'd properly review the changes. p.s. we use changefiles (example) and don't modify the changelog manually. |
|
Hey! What's the correct way to bundle the sound file with the app? I've tried adding it as a resource and then using |
Description : This PR adds sound support for desktop notifications in Tauri v2, which was previously only available on mobile platforms.
Changes:
-->Updated desktop.rs to use notify-rust's sound_name method for sound support on desktop platforms
-->Fixed Windows 7 compatibility implementation by properly enabling sound
-->Updated TypeScript API documentation to clarify how sound works across different platforms
-->Added documentation in README.md about the sound feature
-->Added an entry to CHANGELOG.md
-->Created test examples (sound-notification.js and sound-notification.html) that demonstrate the feature
Fixes #2671