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?
On Android devices, it is possible to choose individual push notification sounds.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With