Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of available sounds for iOS push notifications

Tags:

I'm trying to change the sound for my push notifications, but I don't know what the names are to use. I want to use the "electronic" sound, but what do I put in the sound field in my payload? Is there a list of available sounds?

like image 697
Jhorra Avatar asked May 22 '12 20:05

Jhorra


People also ask

Can push notifications have sound?

On Android devices, it is possible to choose individual push notification sounds.

How do I add my own notification Sounds to Apple?

To do this, go to 'Settings' > 'Notifications,' and then choose the target app. From here, tap on 'Sounds' and then select the notification sound from the available options. In contrast, Android users can change just about all notification sounds on their devices.


1 Answers

As stated in the docs, you can specify "default" as the value for your "sound" key in the payload to play the default sound, or the name of a sound file in your app bundle to play that sound. You'll need to prepare the sound to make sure it's in a compatible format.

like image 130
kevboh Avatar answered Nov 07 '22 04:11

kevboh