@notifee/react-native / InitialNotification
Interface: 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
input?
optional
input:string
The input from a notification action.
The input detail is available when the EventType
is:
EventType.ACTION_PRESS
- The notification quick action has input enabled. View
AndroidInput
for more details.
notification
notification:
Notification
The notification which the user interacted with, which caused the application to open.
pressAction
pressAction:
NotificationPressAction
The press action which the user interacted with, on the notification, which caused the application to open.