IOSNotificationSettings

iOS Only

An interface representing the current authorization status and notification-related settings for your app.


This interface is returned from requestPermission and getNotificationSettings.

View the Observing Settings documentation to learn more.

Properties

alert

Enum describing if notifications will alert the user.

alert: IOSNotificationSetting;

announcement

Enum describing if notifications can be announced to the user via 3rd party services such as Siri.

announcement: IOSNotificationSetting;

For example, if the notification can be automatically read by Siri while the user is wearing AirPods.

authorizationStatus

Overall notification authorization status for the application.

authorizationStatus: AuthorizationStatus;

badge

Enum describing if notifications can update the application badge.

badge: IOSNotificationSetting;

carPlay

Enum describing if notifications can be displayed in a CarPlay environment.

carPlay: IOSNotificationSetting;

criticalAlert

Enum describing if critical notifications are allowed.

criticalAlert: IOSNotificationSetting;

inAppNotificationSettings

inAppNotificationSettings: IOSNotificationSetting;

lockScreen

Enum describing if notifications will be displayed on the lock screen.

lockScreen: IOSNotificationSetting;

notificationCenter

Enum describing if notifications will be displayed in the notification center.

notificationCenter: IOSNotificationSetting;

showPreviews

Enum describing if notification previews will be shown.

showPreviews: IOSShowPreviewsSetting;

sound

Enum describing if notifications can trigger a sound.

sound: IOSNotificationSetting;

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.