---
agentTools:
  projectIndex: https://docs.pulsatehq.com/llms.txt
---

# Push Notifications: Rich Media

[block:callout]
{
  "type": "info",
  "body": "Please note that sending Rich Media to iOS users will only work for SDK 2.9.1 and above."
}
[/block]

Pulsate allows you to add Rich Media to your push notifications. Users can access these media attachments on iOS by force touch or sliding the notification to the left and pressing the View button. On Android, users can pull down the notification to see a media attachment.

[block:callout]
{
  "type": "info",
  "title": "Media Attachment Compatability",
  "body": "Please note that Media Attachments are only compatible with Apple devices running iOS 10 and above. Android devices running 4.1 and above are able to display an image as a push notification extension but Android does not support video, audio, or gifs. For the best result use images with a 2:1 ratio, Android will crop images that are not 2:1.\n\nIf a user receives a rich media notification and is not on a compatible device, they will receive the push notification without the media attachment."
}
[/block]

The following Rich Media can be sent as a push notification media attachment:

[block:parameters]
{
  "data": {
    "h-0": "Name",
    "h-1": "Supported Formats",
    "0-0": "Video Files",
    "h-2": "Maximum Size",
    "0-1": "MPEG\nMPEG2 Video\nMPEG4\nAVI Movie",
    "0-2": "30MB",
    "1-0": "Image",
    "1-1": "JPEG\nGIF\nPNG",
    "1-2": "Minimum width is 320px, \nLength - No boundaries, \nFile size - 5MB Maximum",
    "2-0": "Audio",
    "2-1": "AIFF\nWav\nMP3\nMPEG4 Audio",
    "2-2": "5MB"
  },
  "cols": 3,
  "rows": 3
}
[/block]

For more information on supported file types and file sizes, please see the Apple documentation [here](https://developer.apple.com/reference/usernotifications/unnotificationattachment).

To send a Media Attachment with your push notification, first, toggle on the Rich Media widget as you are building the push notification. This will reveal our simple drag and drop builder that allows you to drag any supported media file into your campaign in one simple step.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/ebeeca4-Media-Upload.gif",
        "Media-Upload.gif",
        2844,
        1616,
        "#333"
      ],
      "caption": "Add a Media Attachment"
    }
  ]
}
[/block]

When the attachment is uploaded to Pulsate, the phone simulator will update to show you what it will look like for the user when they receive the notification and view the attachment. You can also preview the attachment by pressing the play button on the simulator screen.

[block:image]
{
  "images": [
    {
      "image": [],
      "caption": "Play Attachment"
    }
  ]
}
[/block]

To remove a media attachment, click on the Remove button beside the file name in the drag and drop builder.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/ba1cd62-Screenshot_2022-02-21_at_10.01.12.png",
        "Screenshot 2022-02-21 at 10.01.12.png",
        878,
        746,
        "#333"
      ],
      "caption": "Remove Attachment"
    }
  ]
}
[/block]

As well as dragging and dropping media attachments, you can also add a URL that links directly to where the file is hosted.

[block:callout]
{
  "type": "warning",
  "title": "Media Attachment URLs",
  "body": "Please note that the URL must link directly to where the file is hosted and youtube and links to other streaming sites are not compatible."
}
[/block]

Pulsate also allows you to search for GIFs that can be automatically added to your push notification as a media attachment. To search for  GIF, click on the Search for a GIF text field and type out the term that you would like to search for. Pulsate uses GIPHY to return a selection of GIFs based on your search term and you can choose the most suitable GIF and it will be automatically added as a media attachment for your push notification.

[block:image]
{
  "images": [
    {
      "image": [
        "https://files.readme.io/216569f-Rich-Media-Gifs.gif",
        "Rich-Media-Gifs.gif",
        2844,
        1616,
        "#333"
      ],
      "caption": "Add GIF"
    }
  ]
}
[/block]