From f7343106bcdd6610713427b643f16bb972610a2d Mon Sep 17 00:00:00 2001 From: Andrew Rosiclair Date: Tue, 19 Dec 2023 11:25:30 -0500 Subject: [PATCH] comment pointing to docs for comms notifications --- ios/NotificationServiceExtension/NotificationService.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ios/NotificationServiceExtension/NotificationService.swift b/ios/NotificationServiceExtension/NotificationService.swift index 943a8f89cf42..a749c25431d6 100644 --- a/ios/NotificationServiceExtension/NotificationService.swift +++ b/ios/NotificationServiceExtension/NotificationService.swift @@ -31,6 +31,9 @@ class NotificationService: UANotificationServiceExtension { } } + /** + * Parses the notification content and modifies it to be a Communication Notification. More info here: https://developer.apple.com/documentation/usernotifications/implementing_communication_notifications + */ @available(iOSApplicationExtension 15.0, *) func configureCommunicationNotification(notificationContent: UNMutableNotificationContent, contentHandler: @escaping (UNNotificationContent) -> Void) { var notificationData: NotificationData