Handle URLs in Messages

For security reasons, the Mobile App Messaging SDK doesn’t automatically handle URLs that you send in Push Notifications. Instead, your app’s code must handle the URLs it passes to the SDK. Use the SDK’s URL handling methods to manage and process the URLs in your app.

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 a merge field to send metadata about a user’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 a developer to build and include a carousel of images for a rich push notification.

The Mobile App Messaging 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 it passes to the SDK. The SDK offers methods to facilitate custom key handling. See NotificationMessage.