Skip to content

Commit 653ac35

Browse files
committed
format LocalStorageProtocol nicely
1 parent c65e847 commit 653ac35

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

swift-sdk/Internal/LocalStorageProtocol.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,27 @@ import Foundation
66

77
protocol LocalStorageProtocol {
88
var userId: String? { get set }
9+
910
var email: String? { get set }
11+
1012
var authToken: String? { get set }
13+
1114
var ddlChecked: Bool { get set }
15+
1216
var deviceId: String? { get set }
17+
1318
var sdkVersion: String? { get set }
19+
1420
var offlineMode: Bool { get set }
21+
1522
func getAttributionInfo(currentDate: Date) -> IterableAttributionInfo?
23+
1624
func save(attributionInfo: IterableAttributionInfo?, withExpiration expiration: Date?)
25+
1726
func getLastPushPayload(_ currentDate: Date) -> [AnyHashable: Any]?
27+
1828
func saveLastPushPayload(_ payload: [AnyHashable: Any]?, withExpiration expiration: Date?)
29+
1930
func upgrade()
2031
}
2132

0 commit comments

Comments
 (0)