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"