Skip to content

Add sound support for desktop notifications in Tauri v2 #2678

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: v2
Choose a base branch
from

Conversation

Keerthi421
Copy link

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

@Keerthi421 Keerthi421 requested a review from a team as a code owner May 5, 2025 11:30
Copy link
Contributor

github-actions bot commented May 5, 2025

Package Changes Through 470f558

There are 9 changes which include deep-link with minor, deep-link-js with minor, single-instance with patch, fs with minor, fs-js with minor, http with patch, http-js with patch, opener with patch, opener-js with patch

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
api-example 2.0.25 2.0.26
api-example-js 2.0.21 2.0.22
deep-link-example-js 2.2.1 2.2.2
deep-link 2.2.1 2.3.0
deep-link-js 2.2.1 2.3.0
fs 2.2.1 2.3.0
fs-js 2.2.1 2.3.0
dialog 2.2.1 2.2.2
dialog-js 2.2.1 2.2.2
opener 2.2.6 2.2.7
opener-js 2.2.6 2.2.7
http 2.4.3 2.4.4
http-js 2.4.3 2.4.4
persisted-scope 2.2.1 2.2.2
single-instance 2.2.3 2.2.4

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No sound on desktop notifications anymore ?
1 participant