Handle URLs from MobilePush
To ensure the utmost security, the MobilePush SDK doesn’t automatically handle URLs sent with Push Notifications, In-App Messages, or Inbox Messages. Instead, your app’s code must handle the URLs that are passed to the SDK. You can use the SDK's URL handling methods to effectively manage and process the URLs within your app.
The SDK doesn’t automatically present URLs from Alert+CloudPage
push notifications.
For information on handling URLs from push notifications and in-app messages, refer to the following platform-specific guides.
- Android:
- iOS:
Marketers use custom keys to provide metadata for personalization and tracking information within a push notification. Here are some example use cases for custom keys:
- A marketer uses AMPscript to send metadata about a contact’s loyalty level.
- A marketer sends an ID value for the app to retrieve additional data.
- A marketer sends image URLs with the push notification to allow an app developer to build and include a carousel of images for a rich push notification.
The MobilePush SDK doesn’t automatically act on the custom keys delivered with the push notification. Your app’s code must handle the key value pairs that are passed to the SDK. The SDK offers methods to help facilitate custom key handling refer to NotificationMessage