Adjust Push Notification Logic
Nucleic-Session: 0F065CD6-20FE-4941-ACF5-C57A4572A5A3 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user