Glossary · Mobile push
Data message
A data message is an FCM message that carries only your own keys and values, with no title or body for the system to show. Your app's code receives it and decides what to display, if anything.
Also called data-only message; on iOS, a background or silent notification
Who draws the notification
FCM has two kinds of payload. A notification message has a notification block, and when the app is in the background the system shows it by itself, without running your code. A data message has only a data block, and your code always runs. A message can carry both, which behaves like a notification message in the background with the data handed to the app when it's tapped.
| Message type | App in foreground | App in background | Device in Doze |
|---|---|---|---|
| Notification message | your code receives it | system shows it | shown when delivered |
| Data message (high priority) | your code receives it | your code receives it, builds the notification | your code wakes briefly and builds it |
iOS: Data-only = background push. Can be delayed or dropped by the system.
Comparison of notification messages and high-priority data messages in the foreground, background and Doze, with the iOS note that data-only messages are background pushes that can be delayed or dropped.
What you get for the extra code
- Control. Your app picks the notification channel, style, image, actions and grouping.
- Receipts. Because your code runs on arrival, it can tell your server the notification was delivered.
- Consistency. The same rendering path in the foreground and the background.
The limits
- Android priority. In Doze, only high-priority messages wake the app at once. Android may lower the priority of an app whose high-priority messages often don't show a notification, so use high priority for messages that do.
- iOS is different. A data-only message becomes a background push (
content-available: 1, priority 5). iOS throttles them, may hold them for later, and doesn't deliver them to an app the person force-quit. For anything a person should see, send an alert. - Size. The whole payload, keys included, must fit in 4,096 bytes. All values are strings.
- Reserved keys. Keys such as
from, or starting withgoogle.orgcm., are FCM's.
In Oricato
On Android, Oricato can send either way, per project. In SDK mode it sends data messages and the Oricato SDK builds the notification, with your channels, image and a signed delivery receipt. In system mode it sends notification messages for the system to show. Data messages go out at high priority by default so the SDK can render them while the device dozes; set a message to normal and Android may hold it until the device wakes.
- On iOS, every Oricato notification is a visible alert with
mutable-content: 1. The Notification Service Extension adds the image and confirms delivery; nothing depends on a silent push. - The composer measures each language version against the payload limit as you type, with headroom for the keys FCM adds.
Android settings card with SDK mode (data messages) selected and System mode unselected.
Related terms
- Notification channelwhere a data message's notification is filed on Android.
- Notification Service Extensionthe iOS way to change a notification before it's shown.
Sources Firebase documentation, "About FCM messages" and "Receive messages in an Android app"; Apple Developer Documentation, "Pushing background updates to your App" (read Oct 16, 2026).