We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6759822 commit 9edb215Copy full SHA for 9edb215
tests/common/MockLocalStorage.swift
@@ -7,6 +7,7 @@ import Foundation
7
@testable import IterableSDK
8
9
class MockLocalStorage: LocalStorageProtocol {
10
+
11
var userIdAnnon: String?
12
13
var anonymousUserEvents: [[AnyHashable : Any]]?
@@ -28,7 +29,9 @@ class MockLocalStorage: LocalStorageProtocol {
28
29
var sdkVersion: String? = nil
30
31
var offlineMode: Bool = false
-
32
33
+ var anonymousUsageTrack: Bool = true
34
35
func getAttributionInfo(currentDate: Date) -> IterableAttributionInfo? {
36
guard !MockLocalStorage.isExpired(expiration: attributionInfoExpiration, currentDate: currentDate) else {
37
return nil
0 commit comments