Custom sound for remote notification

BoVisfeldtBoVisfeldt DKMember ✭✭

I simply cannot fathom what I am doing wrong.

I have made a 16000KHz wav file that I want to play upon receiving a remote notification.

The file is placed in my.project.iOS/Resources/Sounds/notification.wav
It has BuildAction = "BundleResources".

The notification payload is as follows:
"aps": { "alert": "blahblah", "badge" : 1, "sound" : "Resources/Sounds/notification.wav" }}

I am, however not getting any sound what so ever when i receive a notification. Notification pops up. That's all.
No system bleep, no sound. No Audio.

If someone knows what I am doing wrong, I would be extremely happy. Thanks whoever can help :)

Best Answer

Answers

Sign In or Register to comment.