@@ -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 /// - apnsID: A canonical UUID that identifies the notification.
10695 /// - attributes: The ActivityAttributes of the live activity to start
10796 /// - attributesType: The type name of the ActivityAttributes you want to send
@@ -112,7 +101,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
112101 appID: String ,
113102 contentState: ContentState ,
114103 timestamp: Int ,
115- dismissalDate: APNSLiveActivityDismissalDate = . none,
116104 apnsID: UUID ? = nil ,
117105 attributes: Attributes ,
118106 attributesType: String ,
@@ -121,7 +109,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
121109 self . aps = APNSStartLiveActivityNotificationAPSStorage (
122110 timestamp: timestamp,
123111 contentState: contentState,
124- dismissalDate: dismissalDate. dismissal,
125112 alert: alert,
126113 attributes: attributes,
127114 attributesType: attributesType
0 commit comments