Skip to content

Commit 8eeda49

Browse files
authored
Merge pull request #673 from Iterable/MOB-6918-lastPushPayload-public
MOB-6918 making lastPushPaylod public
2 parents b8964cb + 4370136 commit 8eeda49

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

swift-sdk/IterableAPI.swift

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ import UIKit
3636

3737
/// The `userInfo` dictionary which came with last push
3838
public static var lastPushPayload: [AnyHashable: Any]? {
39-
implementation?.lastPushPayload
39+
get {
40+
implementation?.lastPushPayload
41+
} set {
42+
implementation?.lastPushPayload = newValue
43+
}
4044
}
4145

4246
/// Attribution info (`campaignId`, `messageId`, etc.) for last push open or app link click from an email

0 commit comments

Comments
 (0)