InitialNotification
An interface representing a notification & action that launched the current app / or Android activity.
View the App open events documentation to learn more.
This interface is returned from getInitialNotification
when
an initial notification is available.
Deprecated for iOS in favour of onForegroundEvent
The input from a notification action.
input?: undefined | string;
The input detail is available when the EventType
is:
EventType.ACTION_PRESS
- The notification quick action has input enabled. View
AndroidInput
for more details.
The notification which the user interacted with, which caused the application to open.
notification: Notification;
The press action which the user interacted with, on the notification, which caused the application to open.
pressAction: NotificationPressAction;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License and code samples are licensed under the Apache 2.0 License.
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.