Custom sounds

I have an app that has been working fine but since iOS10 the custom sound of an APNS does not seem to work.


This is my APNS payload...


{"aps":{"alert":{"loc-args":["TEST ALERT","TEST","TEST\/TEST"],"loc-key":"APNS_MSG2"},"sound":"cabinbong.aiff","badge":0,"category":"testAlert"},"custom":{"a":"b","c":0,"d":54.1}}

The payload looks correct to me.


Try setting your sound to "default" and see if the system sound plays or not. I just tested on iOS10 and it works fine for me.

Sorry I wasn't clear, the default sound does play and not my custom aiff that used to before

Accepted Answer

I just tried with a custom wav file in Library/sounds and I don't get the custom sound to be played either.

I’m currently on iOS10 beta 8 with XCode 8.0 beta 6.


I wrote up a bug to apple: # 28214119

I have the same issue. My custom sound does not work in iOS 10. In iOS 8 and iOS 9 it works just fine.

Try deleting the app from the device and reloading it. I'm having a similar issue with iOS 9 and 10 but it occurs only after the app is reloaded.

Custom sounds
 
 
Q