From 50cc20abd892022a94e12ced2fcc9af5657d81a3 Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Tue, 8 Nov 2022 14:13:23 -0800 Subject: [PATCH 1/2] version 6.4.9 --- CHANGELOG.md | 24 ++++++++++++++++++++++++ Iterable-iOS-AppExtensions.podspec | 2 +- Iterable-iOS-SDK.podspec | 2 +- swift-sdk/IterableAPI.swift | 2 +- 4 files changed, 27 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4c7bde11e..a1b4f0543 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,30 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). +### 6.4.9 +### Changed +[Version version 6.4.9](https://github.com/Iterable/swift-sdk/releases/tag/6.4.9) of Iterable's iOS SDK makes it possible to store in-app messages in memory, rather than in an unencrypted local file. However, an unencrypted local file is still the default option. + +To store in-app messages in memory, set `useInMemoryStorageForInApps` to true: + +_Swift_ + +```swift +let config = IterableConfig() +config.useInMemoryStorageForInApps = true +IterableAPI.initialize(apiKey: "", launchOptions: launchOptions, config: config) +``` + +_Objective-C_ + +```objectivec +IterableConfig *config = [[IterableConfig alloc] init]; +config.useInMemoryStorageForInApps = YES; +[IterableAPI initializeWithApiKey:@"" launchOptions:launchOptions config:config]; +``` + +When users upgrade to a version of your iOS app that uses this version of the SDK (or higher), and you've enabled this option, the local file used for in-app message storage (if it already exists) is deleted. However, no data is lost. + ### 6.4.8 ### Changed Starting with this release, as a privacy enhancement, Iterable’s iOS SDK diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index 95128e938..85aed833f 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.8" + s.version = "6.4.9" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index 2f19a78ab..c3bd8eb52 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.8" + s.version = "6.4.9" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index bf8192ac0..5fe16a34d 100644 --- a/swift-sdk/IterableAPI.swift +++ b/swift-sdk/IterableAPI.swift @@ -8,7 +8,7 @@ import UIKit @objcMembers public final class IterableAPI: NSObject { /// The current SDK version - public static let sdkVersion = "6.4.8" + public static let sdkVersion = "6.4.9" /// The email of the logged in user that this IterableAPI is using public static var email: String? { From 6e2fdecda844f2a0856f0771ee991df087be0962 Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Tue, 8 Nov 2022 14:16:14 -0800 Subject: [PATCH 2/2] change header --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1b4f0543..b7b2a42c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,7 +3,7 @@ All notable changes to this project will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org/). ### 6.4.9 -### Changed +### Added [Version version 6.4.9](https://github.com/Iterable/swift-sdk/releases/tag/6.4.9) of Iterable's iOS SDK makes it possible to store in-app messages in memory, rather than in an unencrypted local file. However, an unencrypted local file is still the default option. To store in-app messages in memory, set `useInMemoryStorageForInApps` to true: