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.
2 parents fd55d0a + b61e609 commit 0042229Copy full SHA for 0042229
swift-sdk/Constants.swift
@@ -270,6 +270,11 @@ enum JsonValue {
270
}
271
272
273
+enum IterableDataRegion {
274
+ static let US = "https://api.iterable.com"
275
+ static let EU = "https://api.eu.iterable.com"
276
+}
277
+
278
public protocol JsonValueRepresentable {
279
var jsonValue: Any { get }
280
swift-sdk/IterableConfig.swift
@@ -124,4 +124,7 @@ public class IterableConfig: NSObject {
124
125
/// Set whether the SDK should store in-apps only in memory, or in file storage
126
public var useInMemoryStorageForInApps = false
127
128
+ /// Sets data region which determines data center and endpoints used by the SDK
129
+ public var dataRegion: String = IterableDataRegion.US
130
0 commit comments