@@ -59,15 +59,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
5959 }
6060 }
6161
62- public var dismissalDate : APNSLiveActivityDismissalDate ? {
63- get {
64- return . init( dismissal: self . aps. dismissalDate)
65- }
66- set {
67- self . aps. dismissalDate = newValue? . dismissal
68- }
69- }
70-
7162 /// A canonical UUID that identifies the notification. If there is an error sending the notification,
7263 /// APNs uses this value to identify the notification to your server. The canonical form is 32 lowercase hexadecimal digits,
7364 /// displayed in five groups separated by hyphens in the form 8-4-4-4-12. An example UUID is as follows:
@@ -100,8 +91,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
10091 /// - appID: Your app’s bundle ID/app ID. This will be suffixed with `.push-type.liveactivity`.
10192 /// - contentState: Updated content-state of live activity
10293 /// - timestamp: Timestamp when sending notification
103- /// - dismissalDate: Timestamp when to dismiss live notification when sent with `end`, if in the past
104- /// dismiss immediately
10594 /// - staleDate: Timestamp when the notification is marked as stale
10695 /// - apnsID: A canonical UUID that identifies the notification.
10796 /// - attributes: The ActivityAttributes of the live activity to start
@@ -113,7 +102,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
113102 appID: String ,
114103 contentState: ContentState ,
115104 timestamp: Int ,
116- dismissalDate: APNSLiveActivityDismissalDate = . none,
117105 staleDate: Int ? = nil ,
118106 apnsID: UUID ? = nil ,
119107 attributes: Attributes ,
@@ -123,7 +111,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
123111 self . aps = APNSStartLiveActivityNotificationAPSStorage (
124112 timestamp: timestamp,
125113 contentState: contentState,
126- dismissalDate: dismissalDate. dismissal,
127114 staleDate: staleDate,
128115 alert: alert,
129116 attributes: attributes,
0 commit comments