Refer to this Github issue I opened about the Docs. https://github.com/tauri-apps/tauri/issues/7997
Ill copy and paste it here though for ease of access.
Link to docs:
https://tauri.app/v1/api/js/notification/
I'm encountering some ambiguity while preparing for production deployment. While I managed to get the sound to play during development, the documentation seems vague about how to package the sound for the production app.
I attempted to bundle it with the binary's resources, but in the production environment, the notification remains silent.
To utilize a sound in production, I'm trying to access one from /System/Library/Sounds. Given potential access issues on our CI Server, I copied it to my project directory. I've included this sound in the tauri.conf.json resources section, and confirmed it's correctly bundled in the packaged app. How should I reference it? For context, the sound file is named Blow.aiff and its path in the compiled app is Contents/Resources/_up_/src/assets/sounds/Blow.aiff.