From a4c4ab6c8fcfa4c5c40446ab387ad233fdada100 Mon Sep 17 00:00:00 2001 From: Zach Botterman Date: Tue, 25 Feb 2025 15:55:28 -0800 Subject: [PATCH] add id to macOS payload --- v3/pkg/services/notifications/notifications_darwin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/v3/pkg/services/notifications/notifications_darwin.m b/v3/pkg/services/notifications/notifications_darwin.m index 3a52bd34b..4a1514e06 100644 --- a/v3/pkg/services/notifications/notifications_darwin.m +++ b/v3/pkg/services/notifications/notifications_darwin.m @@ -24,7 +24,7 @@ didReceiveNotificationResponse:(UNNotificationResponse *)response NSMutableDictionary *payload = [NSMutableDictionary dictionary]; - [payload setObject:response.notification.request.identifier forKey:@"identifier"]; + [payload setObject:response.notification.request.identifier forKey:@"id"]; [payload setObject:response.actionIdentifier forKey:@"actionIdentifier"]; [payload setObject:response.notification.request.content.title ?: @"" forKey:@"title"]; [payload setObject:response.notification.request.content.body ?: @"" forKey:@"body"];