Customize Push Notification Functionality for iOS Apps

The Salesforce Engagement SDK offers several customization options that extend push notification support for iOS. Customize sounds, add interactive buttons, include rich media, handle URLs, and send custom data to create a tailored experience for your app users.

Custom Sounds 

Play a custom sound when a push notification arrives. Include a sound file in your app bundle and enable the custom sound option on the MobilePush Administration page.

Interactive Notifications 

Add buttons to push notifications to enable user interactions directly from the notification. Create notification categories with actions, and Engagement sends the category name in the message payload. Your app responds when a user interacts with a button.

Rich Notifications 

Include images and videos in your notifications to create more engaging messages. Rich notifications support titles, subtitles, and mutable content that can include personalization. A Notification Service Extension handles media downloads and attachment creation.

Custom Keys 

Send extra data with push notifications by using custom keys. Use custom keys to add tracking, pass additional information, or trigger specific app functionality. Your push notification handler extracts the values from the notification’s userInfo dictionary.

URL Handling 

The SDK doesn’t automatically present URLs from CloudPages or OpenDirect push notifications. Implement URL handling to control how your app responds to URLs in push notifications and inbox messages. For OpenDirect-specific guidance, see Messages with an OpenDirect URL.

Analytics 

Track successful delivery of your messages by using push delivery analytics. Versions 9.0.0 and later of the SDK track when push notifications reach the SDK.