diff --git a/Sources/AppcuesKit/Push/ParsedNotification.swift b/Sources/AppcuesKit/Push/ParsedNotification.swift index a2cd68c11..369fc5f9b 100644 --- a/Sources/AppcuesKit/Push/ParsedNotification.swift +++ b/Sources/AppcuesKit/Push/ParsedNotification.swift @@ -15,7 +15,6 @@ internal struct ParsedNotification { let notificationID: String let workflowID: String? let workflowTaskID: String? - let transactionID: String? let deepLinkURL: URL? let experienceID: String? let attachmentURL: URL? @@ -37,7 +36,6 @@ internal struct ParsedNotification { self.workflowID = userInfo["appcues_workflow_id"] as? String self.workflowTaskID = userInfo["appcues_workflow_task_id"] as? String - self.transactionID = userInfo["appcues_transaction_id"] as? String self.deepLinkURL = (userInfo["appcues_deep_link_url"] as? String) .flatMap { URL(string: $0) } self.experienceID = userInfo["appcues_experience_id"] as? String diff --git a/Sources/AppcuesKit/Push/PushMonitor.swift b/Sources/AppcuesKit/Push/PushMonitor.swift index b75159585..80b59eb69 100644 --- a/Sources/AppcuesKit/Push/PushMonitor.swift +++ b/Sources/AppcuesKit/Push/PushMonitor.swift @@ -169,7 +169,6 @@ internal class PushMonitor: PushMonitoring { "notification_id": parsedNotification.notificationID, "workflow_id": parsedNotification.workflowID, "workflow_task_id": parsedNotification.workflowTaskID, - "transaction_id": parsedNotification.transactionID, "device_id": storage.deviceID ].compactMapValues { $0 }, isInternal: true diff --git a/Tests/AppcuesKitTests/Push/PushMonitorTests.swift b/Tests/AppcuesKitTests/Push/PushMonitorTests.swift index 9ebfda958..1d2215cf4 100644 --- a/Tests/AppcuesKitTests/Push/PushMonitorTests.swift +++ b/Tests/AppcuesKitTests/Push/PushMonitorTests.swift @@ -385,8 +385,7 @@ extension Dictionary where Key == AnyHashable, Value == Any { "appcues_user_id": "default-00000", "appcues_notification_id": "DEADBEEF-0000-0000-0000-000000000001", "appcues_workflow_id": "DEADBEEF-0000-0000-0000-000000000002", - "appcues_workflow_task_id": "DEADBEEF-0000-0000-0000-000000000003", - "appcues_transaction_id": "DEADBEEF-0000-0000-0000-000000000004" + "appcues_workflow_task_id": "DEADBEEF-0000-0000-0000-000000000003" ] } }