Rich notifications
Add an image, action buttons, a deep link, and the options each platform supports.
Images and icons
Add an image to show a large picture when the notification is expanded. A YouTube watch URL is converted to the video thumbnail. Android can also show a large icon beside the text.
Action buttons
Add up to three buttons. Each has an id, a label and a link. The id is what your tap handler receives as actionId, so you can route each button differently.
Deep links
The launch URL, or a deep link such as myapp://markets/nifty, decides where a tap goes. Your tap handler can route it inside the app.
Additional data
Attach your own key-value pairs to a notification. They are delivered with the payload so your app can read them.
Platform options
| Platform | Options |
|---|---|
| Apple iOS | Media, badge (set or increase), sound, content available, category, target content id, interruption level (Active, Passive, Time Sensitive, Critical), relevance score |
| Google Android | Large icon, big picture, small icon, category, sound, lockscreen visibility (Public, Private, Secret), LED color, accent color, group key |
| Google Chrome | Icon, image, badge |
| Mozilla Firefox | Icon |
Advanced settings
Collapse id, web push topic, priority (Normal or High) and time to live are available for every send.