Skip to main content

Content Limits

Limitations for Text Length

Rich push content text length limits vary depending on whether the payload includes an image.

ModeType
TextImage
Notification panel collapsedTitle is one line only and gets truncated if too long.
Body is also one line and gets truncated if too long.
Title and body length varies from 20 to 55 characters, based on screen density.
The small image preview is shown center-cropped.
Title is one line, and gets truncated if too long.
Text body is one line, and gets truncated if too long.
Title and text body length varies from 20 to 55 characters, based on screen density.
Notification panel expandedTitle length varies from 20 to 80 characters, based on screen density.
Body length varies from 200 to 460 characters, based on screen density.
The image is shown in large. The preview image disappears.
Title is one line, and gets truncated if too long.
Text body is one line, and gets truncated if too long.
Title length varies from 20 to 80 characters, based on screen density.
Text body length varies from 20 to 90 characters, based on screen density.
LockscreenExpanded notifications are available as of API level 16. Title length varies from 20 to 55 characters, based on screen density. Text body length varies from 200 to 700 characters, based on screen density.
Heads upHeads-up notifications are not supported.

Note

The notification text gets cropped if it's too long. There's no scrolling enabled. The exact character length limits also depend on the specific device.

Limitations for Images

  • Keep images between 800 and 1,038 px wide.

  • Always use landscape orientation. Images in rich push notifications are cropped to a ratio of approximately 16:9. The exact ratio varies by device.

warning

The image URL must use HTTPS.