Skip to content

Rich Notifications

Alexander Boldyrev edited this page Oct 31, 2024 · 17 revisions

Mobile messaging platform enables you to attach images to push notification from provided URL as of iOS 10 and MM SDK 2.5.8.

Requirements

  • iOS MM SDK 2.5.8+ (with notification extension)
  • iOS version 10+
  • supported: image, animated gif, audio, video
    • file formats (max size) - by Apple:
      • image (5 MB) JPEG, GIF, PNG
      • audio (10 MB) AIFF, WAV, MP3, M4A
      • video (50 MB) MPEG, MPEG2, MP4, AVI
  • no defined aspect ratio by Apple
  • max resolution size isn't defined by Apple, but we recommend not to go over 1280x1280/300Kb
  • for image downloading iOS requires HTTPS connection. URLs need to support TLS 1.2

Configure extension

Rich notifications were introduced with Notification Service Extension and must be configured as described here.

Send rich notification

In order to receive media content through Push within Notification Center, you need to create a new Push campaign on Portal or send a message through Push API with contentUrl parameter.

Rich notification - CUP - step 1 Rich notification - CUP - step 2 Rich notification - CUP - step 3

Receive it on device

Provided content will be displayed in the notification center.

Rich notification - iOS10
Clone this wiki locally