Design a push delivery
Define the content of the notification
Once your push delivery is created, define its content. Parameters and settings depend on the mobile operating system: Android or iOS. Browse the tabs below to learn how to compose your message for each operating system.
With Firebase Cloud Messaging, choose between two types of messages:
-
The Data message is handled by the client app. These messages are sent directly to the mobile application, which generates and displays an Android notification on the device. Data messages contain only your custom application variables.
To define the content, personalize data, and add dynamic content, click the Message field and use the Expression editor. Access this editor to customize your messages.
In the Application variables menu, your application variables are automatically added. These variables allow you to define notification behavior. For example, configure a specific application screen to be displayed when the user activates the notification. -
The Notification message, handled automatically by the FCM SDK. FCM automatically displays the message on your users’ devices on behalf of the client app. Notification messages contain a predefined set of parameters and options but can still be further personalized with custom application variables.
To compose your message, click the Title and Message fields. Use the Expression editor to define content, personalize data, and add dynamic content.
To further personalize your push notification, choose an image to add to your push notification, the notification’s icon to display on your profiles’ devices, and its color.
To compose your message, click the Title and Message fields. Use the Expression editor to define content, personalize data, and add dynamic content.
You can add a Subtitle, which is the value of the subtitle parameter of the iOS notification payload. Refer to this section.
The Silent Push mode allows a “silent” notification to be sent to a mobile application. The user is not made aware of the notification’s arrival. It is transferred directly to the application.
Push notification advanced settings
Advanced options depend on the mobile operating system: Android or iOS. Browse the tabs below to learn how to define options for your message for each operating system.
If deactivated, the notification is automatically dismissed when the user interacts with it. The sticky behavior allows important notifications to persist on the screen for longer periods.
- Active: Set by default, the system presents the notification immediately, lights up the screen, and can play a sound. Notifications do not break through Focus modes.
- Passive: The system adds the notification to the notification list without lighting up the screen or playing a sound. Notifications do not break through Focus modes.
- Time sensitive: The system presents the notification immediately, lights up the screen, can play a sound, and break through Focus modes. This level does not require special permission from Apple.
- Critical: The system presents the notification immediately, lights up the screen, and bypasses the mute switch or focus modes. Note that this level requires special permission from Apple.