InitialNotification

Android Only

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

Properties

input

Android Only

The input from a notification action.

input?: undefined | string;

The input detail is available when the EventType is:

notification

The notification which the user interacted with, which caused the application to open.

notification: Notification;

pressAction

The press action which the user interacted with, on the notification, which caused the application to open.

pressAction: NotificationPressAction;

Copyright 2020 - 2021 © Invertase Limited

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.