From 0e2c96848e2acbf8f1e2c58b8836715e229682e9 Mon Sep 17 00:00:00 2001 From: "evan.greer@iterable.com" Date: Mon, 24 Jul 2023 13:24:30 -0600 Subject: [PATCH 1/2] updates podspec and changelog --- CHANGELOG.md | 4 ++++ Iterable-iOS-AppExtensions.podspec | 2 +- Iterable-iOS-SDK.podspec | 2 +- swift-sdk/IterableAPI.swift | 2 +- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a547ddf87..8286c6c1c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +## 6.4.15 +### Added +- `config.dataRegion` which configures the iOS SDK to use API endpoints for the Iterable EU data center. This configuration defaults to API endpoints for the US data center. + ## 6.4.14 ### Added - Success and Failure handlers can now be passed to following functions: diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index 4dd252b63..c1f0c8d96 100644 --- a/Iterable-iOS-AppExtensions.podspec +++ b/Iterable-iOS-AppExtensions.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-AppExtensions" s.module_name = "IterableAppExtensions" - s.version = "6.4.14" + s.version = "6.4.15" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index 48c4108dd..57d3fbab6 100644 --- a/Iterable-iOS-SDK.podspec +++ b/Iterable-iOS-SDK.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "Iterable-iOS-SDK" s.module_name = "IterableSDK" - s.version = "6.4.14" + s.version = "6.4.15" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index 72ae6edd7..9c57fd4b3 100644 --- a/swift-sdk/IterableAPI.swift +++ b/swift-sdk/IterableAPI.swift @@ -7,7 +7,7 @@ import UIKit @objcMembers public final class IterableAPI: NSObject { /// The current SDK version - public static let sdkVersion = "6.4.14" + public static let sdkVersion = "6.4.15" /// The email of the logged in user that this IterableAPI is using public static var email: String? { From ca3dba81d84f44c9cb0ea32c44ef9d5cd602bfbf Mon Sep 17 00:00:00 2001 From: "evan.greer@iterable.com" Date: Mon, 24 Jul 2023 14:07:55 -0600 Subject: [PATCH 2/2] updates changelog --- CHANGELOG.md | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8286c6c1c..bcab5547a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,23 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## 6.4.15 ### Added -- `config.dataRegion` which configures the iOS SDK to use API endpoints for the Iterable EU data center. This configuration defaults to API endpoints for the US data center. +- This release allows you to use projects hosted on Iterable's EU data center. If your project is hosted on Iterable's [European data center (EUDC)](https://support.iterable.com/hc/articles/17572750887444), configure the SDK to use Iterable's EU-based API endpoints: + +_Swift_ + +```swift +let config = IterableConfig() +config.dataRegion = IterableDataRegion.EU +IterableAPI.initialize(apiKey: "", launchOptions: launchOptions, config: config) +``` + +_Objective-C_ + +```objectivec +IterableConfig *config = [[IterableConfig alloc] init]; +config.dataRegion = IterableDataRegion.EU; +[IterableAPI initializeWithApiKey:@"" launchOptions:launchOptions config:config]; +``` ## 6.4.14 ### Added