@notifee/react-native

@notifee/react-native / IOSNotificationCategory

Interface: IOSNotificationCategory

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

actions?

optional actions: IOSNotificationCategoryAction[]

allowAnnouncement?

optional allowAnnouncement: boolean

allowInCarPlay?

optional allowInCarPlay: boolean

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

Defaults to false.

hiddenPreviewsBodyPlaceholder?

optional hiddenPreviewsBodyPlaceholder: string

hiddenPreviewsShowSubtitle?

optional hiddenPreviewsShowSubtitle: boolean

hiddenPreviewsShowTitle?

optional hiddenPreviewsShowTitle: boolean

id

id: string

The unique ID for the category.

intentIdentifiers?

optional intentIdentifiers: IOSIntentIdentifier[]

summaryFormat?

optional summaryFormat: string

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

View the Summary Text documentation to learn more.