@@ -59,15 +59,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
59
59
}
60
60
}
61
61
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
-
71
62
/// A canonical UUID that identifies the notification. If there is an error sending the notification,
72
63
/// APNs uses this value to identify the notification to your server. The canonical form is 32 lowercase hexadecimal digits,
73
64
/// 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
100
91
/// - appID: Your app’s bundle ID/app ID. This will be suffixed with `.push-type.liveactivity`.
101
92
/// - contentState: Updated content-state of live activity
102
93
/// - timestamp: Timestamp when sending notification
103
- /// - dismissalDate: Timestamp when to dismiss live notification when sent with `end`, if in the past
104
- /// dismiss immediately
105
94
/// - apnsID: A canonical UUID that identifies the notification.
106
95
/// - attributes: The ActivityAttributes of the live activity to start
107
96
/// - attributesType: The type name of the ActivityAttributes you want to send
@@ -112,7 +101,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
112
101
appID: String ,
113
102
contentState: ContentState ,
114
103
timestamp: Int ,
115
- dismissalDate: APNSLiveActivityDismissalDate = . none,
116
104
apnsID: UUID ? = nil ,
117
105
attributes: Attributes ,
118
106
attributesType: String ,
@@ -121,7 +109,6 @@ public struct APNSStartLiveActivityNotification<Attributes: Encodable & Sendable
121
109
self . aps = APNSStartLiveActivityNotificationAPSStorage (
122
110
timestamp: timestamp,
123
111
contentState: contentState,
124
- dismissalDate: dismissalDate. dismissal,
125
112
alert: alert,
126
113
attributes: attributes,
127
114
attributesType: attributesType
0 commit comments