From b31d19aa8a1f4881cbcdeed4f89e51e036317cb6 Mon Sep 17 00:00:00 2001 From: Andrew Blakeslee Moore Date: Mon, 6 Jul 2026 12:53:39 -0700 Subject: [PATCH] Adjust Push Notification Logic Nucleic-Session: 0F065CD6-20FE-4941-ACF5-C57A4572A5A3 Co-authored-by: Nucleic --- NucleicRemote/NucleicRemote/Notifications.swift | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NucleicRemote/NucleicRemote/Notifications.swift b/NucleicRemote/NucleicRemote/Notifications.swift index c12a4b5..c6c3cb6 100644 --- a/NucleicRemote/NucleicRemote/Notifications.swift +++ b/NucleicRemote/NucleicRemote/Notifications.swift @@ -20,6 +20,12 @@ final class NotificationRouter: NSObject { /// The store notifications act on; set once at app start. weak var store: RemoteStore? + /// The delivered identifier of the remote wake tickle ("A session is waiting for your + /// approval"). A remote notification's identifier equals its `apns-collapse-id`, so this must + /// match the relay's `APPROVAL_COLLAPSE_ID` (cloud/nucleic-edge/src/apns.ts) for the recall to + /// target the right notification. + static let approvalTickleIdentifier = "approval-pending" + // Category / action identifiers (also referenced from the notification service side). static let approvalCategory = "NUCLEIC_APPROVAL" static let approvalActionableCategory = "NUCLEIC_APPROVAL_ACTIONABLE"