You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This release includes support for encrypting some data at rest, and an option to
20
+
store in-app messages in memory.
21
+
22
+
#### Encrypted data
23
+
24
+
In Android apps with `minSdkVersion` 23 or higher ([Android 6.0](https://developer.android.com/studio/releases/platforms#6.0))
25
+
Iterable's Android SDK now encrypts the following fields when storing them at
26
+
rest:
27
+
28
+
-`email` — The user's email address.
29
+
-`userId` — The user's ID.
30
+
-`authToken` — The JWT used to authenticate the user with Iterable's API.
31
+
32
+
(Note that Iterable's Android SDK does not store the last push payload at
33
+
rest—before or after this update.)
34
+
35
+
For more information about this encryption in Android, examine the source code
36
+
for Iterable's Android SDK: [`IterableKeychain`](https://github.com/Iterable/iterable-android-sdk/blob/master/iterableapi/src/main/java/com/iterable/iterableapi/IterableKeychain.kt).
37
+
38
+
#### Storing in-app messages in memory
39
+
40
+
This release also allows you to have your Android apps (regardless of `minSdkVersion`)
41
+
store in-app messages in memory, rather than in an unencrypted local file.
42
+
However, an unencrypted local file is still the default option.
43
+
44
+
To store in-app messages in memory, set the `setUseInMemoryStorageForInApps(true)`
- Added new methods for `setEmail`, `setUserId` and `updateEmail` which accepts `authToken`, providing more ways to pass `authToken` to SDK
22
87
- Added two interface methods - `onTokenRegistrationSuccessful` and `onTokenRegistrationFailed`. Override these methods to see if authToken was successfully received by the SDK.
0 commit comments