Skip to content

Commit

Permalink
Merge pull request #580 from Iterable/MOB-4205-version-6.4.8
Browse files Browse the repository at this point in the history
[MOB-4205] version  6.4.8
  • Loading branch information
roninopf authored Oct 31, 2022
2 parents df51e64 + e969101 commit cfa8776
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 3 deletions.
24 changes: 24 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
Expand Down
2 changes: 1 addition & 1 deletion Iterable-iOS-AppExtensions.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion Iterable-iOS-SDK.podspec
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion swift-sdk/IterableAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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? {
Expand Down

0 comments on commit cfa8776

Please sign in to comment.