Notification with Custom Sound


#1

I am trying to follow what is said I could do here:

I added the sound file to YourApp.app/Contents/Resources/appnotify.mp3

and then called it with:

const t = new Notification({title : data.title, body : data.body, sound : ‘appnotify’});
t.show();

But it still has the default sound play, am I missing something?