Clears a specific notification.
On Android, you can use this method to clear
notifications outside of Airship, The identifier is in
the format of
The identifier.
Clears all notifications for the app.
Enables user notifications.
Optional
options: { fallback?: SystemSettings }Optional options.
A promise with the permission result.
Gets the list of active notifications.
On Android, this list only includes notifications sent through Airship.
A promise with the result.
Gets the registration token if generated. Use the event EventType.PushTokenReceived to be notified when available.
A promise with the result.
Checks if user notifications are enabled or not on Airship.
A promise with the result.
Enables/disables notifications on Airship.
When enabled, it will cause the user to be prompted for
the permission on platforms that support it.
To get the result of the prompt, use enableUserNotifications
.
true to enable, false to disable
A promise.
Airship Push.