createTriggerNotification

Android Only

API used to create a trigger notification.



createTriggerNotification(notification: Notification, trigger: Trigger): Promise<string>;

All channels/categories should be created before calling this method during the apps lifecycle.

View the Triggers documentation for more information.


PropertyDescriptionOptional
notification

The Notification interface used to create a notification.

trigger

The Trigger interface used to create a trigger.

Currently only supported on Android.


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.