Skip to content

Commit 1c43fe8

Browse files
authored
[MOB-10592] Make IterableAPIMobileFrameworkInfo properties and initia… (#889)
1 parent 22c22aa commit 1c43fe8

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

swift-sdk/SDK/IterableConfig.swift

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,13 @@ public enum IterableAPIMobileFrameworkType: String, Codable {
1111
}
1212

1313
public struct IterableAPIMobileFrameworkInfo: Codable {
14-
let frameworkType: IterableAPIMobileFrameworkType
15-
let iterableSdkVersion: String?
14+
public let frameworkType: IterableAPIMobileFrameworkType
15+
public let iterableSdkVersion: String?
16+
17+
public init(frameworkType: IterableAPIMobileFrameworkType, iterableSdkVersion: String?) {
18+
self.frameworkType = frameworkType
19+
self.iterableSdkVersion = iterableSdkVersion
20+
}
1621
}
1722

1823
/// Custom URL handling delegate

0 commit comments

Comments
 (0)