The interface used to describe a full-screen action for a notification.
By setting a
fullScreenAction, when the notification is displayed, it will launch a full-screen intent.
On Android; when provided to a notification action, the action will only open you application if
launchActivity and/or a
mainComponent is provided.
Please see the FullScreen Action document to learn more.
The unique ID for the action.
id property is used to differentiate between full-screen actions. When listening to notification
events, the ID can be read from the
The custom Android Activity to launch on a full-screen action.
launchActivity?: undefined | string;
This property can be used in advanced scenarios to launch a custom Android Activity when the user performs a full-screen action.
View the Android Full Screen docs to learn more.
A custom registered React component to launch on press action.
mainComponent?: undefined | string;
This property can be used to open a custom React component when the notification is displayed. For this to correctly function on Android, a minor native code change is required.
View the Full-screen Action document to learn more.
All product names, logos, and brands are property of their respective owners. All company, product and service names used in this website are for identification purposes only. Use of these names, logos, and brands does not imply endorsement.