@notifee/react-native

@notifee/react-native / IOSNotificationPermissions

Interface: IOSNotificationPermissions

An interface representing all the available permissions that can be requested by your app via the requestPermission API.

View the Permissions to learn more.

Platform

ios

Properties

alert?

optional alert: boolean

Request permission to display alerts.

Defaults to true.

announcement?

optional announcement: boolean

Request permission for Siri to automatically read out notification messages over AirPods.

Defaults to false.

Platform

ios iOS >= 13

badge?

optional badge: boolean

Request permission to update the application badge.

Defaults to true.

carPlay?

optional carPlay: boolean

Request permission to display notifications in a CarPlay environment.

Defaults to true.

criticalAlert?

optional criticalAlert: boolean

Request permission to display critical notifications.

View the Critical Notifications documentation for more information and usage examples.

Defaults to false.

provisional?

optional provisional: boolean

Request permission to provisionally create non-interrupting notifications.

Defaults to false.

Platform

ios iOS >= 12

sound?

optional sound: boolean

Request permission to play sounds.

Defaults to true.