react-native-notify-kit

react-native-notify-kit / IOSNotificationPermissions

Interface: IOSNotificationPermissions

Defined in: packages/react-native/src/types/NotificationIOS.ts:208

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

Defined in: packages/react-native/src/types/NotificationIOS.ts:214

Request permission to display alerts.

Defaults to true.

announcement?

optional announcement: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:263

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

Defaults to false.

Platform

ios iOS >= 13

badge?

optional badge: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:231

Request permission to update the application badge.

Defaults to true.

carPlay?

optional carPlay: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:245

Request permission to display notifications in a CarPlay environment.

Defaults to true.

criticalAlert?

optional criticalAlert: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:224

Request permission to display critical notifications.

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

Defaults to false.

provisional?

optional provisional: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:254

Request permission to provisionally create non-interrupting notifications.

Defaults to false.

Platform

ios iOS >= 12

sound?

optional sound: boolean

Defined in: packages/react-native/src/types/NotificationIOS.ts:238

Request permission to play sounds.

Defaults to true.