From ba0375f58292200dcc1d1121a31e75d3e99ff77a Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Tue, 22 Apr 2025 11:01:31 -0700 Subject: [PATCH] add link to APNs documentation --- src/notifications/senders/AppleNotificationSender.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/notifications/senders/AppleNotificationSender.ts b/src/notifications/senders/AppleNotificationSender.ts index 012846f..898bf05 100644 --- a/src/notifications/senders/AppleNotificationSender.ts +++ b/src/notifications/senders/AppleNotificationSender.ts @@ -107,6 +107,8 @@ export class AppleNotificationSender { resolve(); }); + // See https://developer.apple.com/documentation/usernotifications/generating-a-remote-notification + // for notification payload examples req.write(JSON.stringify({ aps: { alert: notificationAlertArguments,