Gets the list of authorized notification settings.
A promise with the result.
Gets the authorized notification status.
A promise with the result.
Gets the badge number.
A promise with the result.
Checks if autobadge is enabled.
A promise with the result.
Enables/disables autobadge.
true to enable, false to disable.
A promise.
Set the badge number.
The badge number.
A promise.
Sets the foreground presentation options.
The foreground options.
A promise.
Overrides the presentation options per notification. If a null
is returned, the default
options will be used. The callback should return as quickly as possible to avoid delaying notification delivery.
Optional
callback: (pushPayload: PushPayload) => Promise<null | ForegroundPresentationOption[]>A callback that can override the foreground presentation options.
Sets the notification options.
The notification options.
A promise.
iOS Push.