List of available sounds for iOS push notifications
31,251
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.
Related videos on Youtube
Author by
Suspe18
Updated on February 22, 2021Comments
-
Suspe18 over 3 years
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?
-
Suspe18 about 12 yearsI was under the impression I could use one of the sounds already on the iPhone, is this not the case?
-
kevboh about 12 yearsI've only ever seen
default
as a built-in sound. I tried googling around and couldn't find anything else. -
Suspe18 about 12 yearsThanks, I guess that's why I couldn't find any either. I thought I had just missed them somehow.
-
abhillman over 9 yearsI was not able to reproduce this result. As far as I could tell, specifying anything in the
sound
key —default
,chime
, orasdf
, for example — will all play the system sound, unless the name of the sound is found in the main application bundle. -
Hima over 7 yearsBoth the pages are not found. @kevboh