From c7e953931c1e27e357cdaef044f3f13ddf07452f Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Wed, 5 Oct 2022 14:40:20 -0700 Subject: [PATCH 1/2] update version number --- Iterable-iOS-AppExtensions.podspec | 2 +- Iterable-iOS-SDK.podspec | 2 +- swift-sdk/IterableAPI.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Iterable-iOS-AppExtensions.podspec b/Iterable-iOS-AppExtensions.podspec index 4885fcd41..95128e938 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.7" + s.version = "6.4.8" s.summary = "App Extensions for Iterable SDK" s.description = <<-DESC diff --git a/Iterable-iOS-SDK.podspec b/Iterable-iOS-SDK.podspec index 0b4c55e90..2f19a78ab 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.7" + s.version = "6.4.8" s.summary = "Iterable's official SDK for iOS" s.description = <<-DESC diff --git a/swift-sdk/IterableAPI.swift b/swift-sdk/IterableAPI.swift index 012f2c922..bf8192ac0 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.7" + public static let sdkVersion = "6.4.8" /// The email of the logged in user that this IterableAPI is using public static var email: String? { From e969101eee87a4bfa248fc951891bfa68f5a257e Mon Sep 17 00:00:00 2001 From: Jay Kim Date: Thu, 27 Oct 2022 16:55:15 -0700 Subject: [PATCH 2/2] add changelog --- CHANGELOG.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2487b3024..4c7bde11e 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.8 +### Changed +Starting with this release, as a privacy enhancement, Iterable’s iOS SDK +encrypts the following data when storing it at rest: + +- `email` — The user's email address. +- `userId` — The user's ID. +- `authToken` — The JWT used to authenticate the user with Iterable's API. +- `lastPushPayload` — The JSON payload that came along with the last push + notification received by the app. + +(Note that Iterable's iOS SDK does not store in-app messages at rest—before or +after this update.) + +When a user upgrades to a version of your app that uses this version of the SDK +(or higher), the fields shown above are encrypted. No data that's already stored +is lost. + +For more information about the encryption described above, examine the SDK +source code: + +- [`IterableKeychain`](https://github.com/Iterable/swift-sdk/blob/master/swift-sdk/Internal/IterableKeychain.swift) +- [`KeychainWrapper`](https://github.com/Iterable/swift-sdk/blob/master/swift-sdk/Internal/KeychainWrapper.swift) + ## 6.4.7 ### Added - Added `setEmail` and `setUserId` as publicly accessible functions, which will set the identity of the SDK to attribute to events. The optional second parameter will take in a JWT if you already have one at the time of this call (as opposed to through `IterableAuthDelegate`).