Interface: IOSNotificationCategory

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

A interface representing a notification category created via setNotificationCategories.

At minimum, a category must be created with a unique identifier, all other properties are optional.

View the Categories documentation to learn more.

Platform

ios

Properties

allowAnnouncement?

optional allowAnnouncement: boolean

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

allowInCarPlay?

optional allowInCarPlay: boolean

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

Allow notifications in this category to be displayed in a CarPlay environment.

Defaults to false.

hiddenPreviewsBodyPlaceholder?

optional hiddenPreviewsBodyPlaceholder: string

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

hiddenPreviewsShowSubtitle?

optional hiddenPreviewsShowSubtitle: boolean

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

hiddenPreviewsShowTitle?

optional hiddenPreviewsShowTitle: boolean

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

id

id: string

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

The unique ID for the category.

intentIdentifiers?

optional intentIdentifiers: IOSIntentIdentifier[]

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

summaryFormat?

optional summaryFormat: string

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

Specify a custom format for the summary text, which is visible when notifications are grouped together.

View the Summary Text documentation to learn more.