notificationCategories property

List<DarwinNotificationCategory> notificationCategories
final

Configure the notification categories (DarwinNotificationCategory) available. This allows for fine-tuning of preview display.

IMPORTANT: A change to the category actions will either require a full app uninstall / reinstall or a change to the category identifier. This is because iOS/macOS configures the categories once per App launch and considers them immutable while the App is installed.

Notification actions are configured in each DarwinNotificationCategory.

On iOS, this is only applicable to iOS 10 or newer. On macOS, this is only applicable to macOS 10.14 or newer.

Implementation

final List<DarwinNotificationCategory> notificationCategories;