The documentation is currently a work in progress whilst the product is in alpha.

getInitialNotification

API used to fetch the notification which causes the application to open.



getInitialNotification(): Promise<InitialNotification | null>;

This API can be used to fetch which notification & press action has caused the application to open. The call returns a null value when the application wasn't launched by a notification.

Once the initial notification has been consumed by this API, it is removed and will no longer be available. It will also be removed if the user relaunches the application.

View the App open events documentation for more information and example usage.



Copyright 2020 © 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.