Bundle a custom alert sound in your app and select it per campaign in the Pulsate CMS — no SDK code required.
You can play a custom sound for Pulsate push notifications. This does not involve any SDK method call: you bundle the audio file in your app and select it by name when configuring the campaign in the Pulsate CMS. iOS's system-sound facility plays the file from your app bundle when the push arrives.
1. Add the sound file to your app
Prepare your audio file and add it to your Xcode project so it is copied into the application bundle. The simplest way is to drag and drop the file into the project navigator and let Xcode add it to your target's resources.
You can add multiple custom sound files to a single app.
2. Use a supported format
Custom alert sounds are played by the iOS system-sound facility, so they must be in one of the following audio data formats:
Linear PCM, MA4 (IMA/ADPCM), µLaw, aLaw
Package the audio data in an aiff, wav, or caf file.
Important
Custom sounds must be under 30 seconds when played. Sounds longer than 30 seconds are ignored by iOS, which falls back to the default notification sound.
For full platform requirements, see Apple's User Notifications documentation.

