Skip to Content
Platform.Ontology

Rich notification media attachments

Attaches images, audio or video to an iOS alert: 10 MB, 5 MB and 50 MB limits.

Works without askingNotifications and backgroundPermission and presentationAndroid and iPhoneIn the background

In one line

Can attach pictures, sound or video to an iPhone alert, within size limits

Attaches images, audio or video to an iOS alert: 10 MB, 5 MB and 50 MB limits.

Fetched media can reveal when and where an alert was shown through the request. Android notifications show images via BigPictureStyle with no published size cap.

What it can and can't do

What the user does: You get a push with a photo, clip or audio attached

It can

  • Show an image up to 10 MB, like JPEG, GIF or PNG
  • Attach audio up to 5 MB or a movie up to 50 MB
  • Show large images on Android, limited only by memory

It cannot

  • Attach files bigger than 10 MB, 5 MB or 50 MB for image, audio or movie
  • Use file types outside the allowed list
  • Show media if notifications are off for the app

How it differs between platforms: iPhone sets size limits by type. Android has no published size limit but depends on memory.

On Android and iPhone

AndroidiPhone
StatusSupportedSupported
First versionAndroid 4.1 (API 16)iOS 10.0
Permission or entitlementNot listedNot listed
Protection levelnonenone
How access is grantedinstallnone
What the user seesNoneNone
How long it lastsDownloaded by the app; memory boundAttachment files are moved into the notification store; cleaned after dismissal
How to take it backn/an/a
Store policyNone listedNone listed
APINotificationCompat.BigPictureStyleUNNotificationAttachment
NotesNo published size limit; large bitmaps bound by memoryAudio 5 MB (AIFF, WAV, MP3, M4A), image 10 MB (JPEG, GIF, PNG), movie 50 MB (MPEG, MPEG-2, MP4, AVI)

Data you get

What comes back: Attachment limits
Shape: object
How often: Static

FieldTypeUnitRangePrecision
audiointegerMB5Not listed
imageintegerMB10Not listed
movieintegerMB50Not listed

Technical limits

  • Fetching the media requires network work inside the extension window

The story

What it is

Alerts that carry a picture, sound or short video.

For you

You see a photo in the alert, like your delivery driver or a news picture. You may not know the picture was loaded from a web address that tells the sender it was shown.

For makers

Makers get richer, more clickable alerts. The picture link can also carry a hidden ID that shows when and from where the alert was opened.

Where you see it

TypeExampleApps
deliveryA food app shows a photo of your order with the alert.DoorDash
newsA news app shows a big photo with the headline.NYT, BBC
socialA social app shows the photo someone sent you.Instagram
shoppingA store shows a product picture in a price drop alert.Amazon
musicA music app shows album art and a short audio preview.Spotify
adsA marketing tool hides a tracking pixel in the image link to know the alert was seen.None named
liveA sports app shows a short highlight video clip with the score alert.ESPN

Risks

  • Tracking pixels in image links
  • Uses data

Android and iPhone in short

  • Android: Android shows big pictures with no published size cap.
  • iPhone: iOS limits attachments to 10 MB for images, 5 MB for audio and 50 MB for video.

What the platform says

Good uses and abuse

Legitimate uses

  • Order photos
  • Previews

Known abuse

  • Tracking pixels in attachment URLs

Scores

ScoreValueMeaning
Sensitivity2 of 5How revealing the data is
Utility3 of 5How useful it is to honest apps
Friction0 of 5How much the user has to do
Fingerprint bitsNot ratedRough identifying entropy, when known

History

  • 2016-09, iPhone iOS 10: Media attachments via UNNotificationAttachment

Sources

How well checked: Checked against real behavior.

On this page