Customize the SDK default launching configuration
Handling (A RENOMMER !)
Custom notification sounds
You can specify a custom sound, that iOS will play when it receives a local or remote notification for your app. For more details, you can consult Apple's documentation.
Remember that the default sound is played when:
- The sound file is not found.
- The sound is longer than 30 seconds.
- The data format is invalid. Accepted data formats are: aiff, wav, or caf.
To add the sound file to your project, you can simply drag and drop it to your resource folder. Make sure you check the box Copy items if needed.
In the Accengage dashboard, you can easily specify this sound when composing a push message by selecting "custom" in the sound section, and enter the file name with its extension (customsound.wav for instance).
Prefer a short file name.
Configure interactive notifications
Preventing notification display
Sometimes, it might be useful to prevent displaying push notifications, for various reasons : avoid displaying push notifications on top of ads, respecting user preferences etc...
Accengage provides you an option, but don't forget to deactivate it if need be!
You can prevent the display of any push notification by suspending the Push service :
This will not affect In-App messages.