Skip to content

Commit ebb4a79

Browse files
committed
MOB-6918 making lastPushPaylod public
Iterable/react-native-sdk#342
1 parent 84caa3d commit ebb4a79

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)