@notifee/react-native / IOSNotificationSettings
Interface: IOSNotificationSettings
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.
alert
alert:
IOSNotificationSetting
Enum describing if notifications will alert the user.
announcement
announcement:
IOSNotificationSetting
Enum describing if notifications can be announced to the user via 3rd party services such as Siri.
For example, if the notification can be automatically read by Siri while the user is wearing AirPods.
authorizationStatus
authorizationStatus:
AuthorizationStatus
Overall notification authorization status for the application.
badge
badge:
IOSNotificationSetting
Enum describing if notifications can update the application badge.
carPlay
carPlay:
IOSNotificationSetting
Enum describing if notifications can be displayed in a CarPlay environment.
criticalAlert
criticalAlert:
IOSNotificationSetting
Enum describing if critical notifications are allowed.
inAppNotificationSettings
inAppNotificationSettings:
IOSNotificationSetting
lockScreen
lockScreen:
IOSNotificationSetting
Enum describing if notifications will be displayed on the lock screen.
notificationCenter
notificationCenter:
IOSNotificationSetting
Enum describing if notifications will be displayed in the notification center.
showPreviews
showPreviews:
IOSShowPreviewsSetting
Enum describing if notification previews will be shown.
sound
sound:
IOSNotificationSetting
Enum describing if notifications can trigger a sound.