Skip to content

Commit 6166e03

Browse files
committed
version 1.3.8
1 parent 0e2a682 commit 6166e03

File tree

3 files changed

+197
-173
lines changed

3 files changed

+197
-173
lines changed

CHANGELOG.md

+24
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
### 1.3.8
2+
### Added
3+
4+
[Version 1.3.8](https://github.com/Iterable/react-native-sdk/releases/tag/1.3.7) of Iterable's React Native SDK makes it possible for iOS apps to store in- app messages in memory, rather than in an unencrypted local file. ([Version 1.3.7](https://github.com/Iterable/react-native-sdk/releases/tag/1.3.7) added this same support for Android.)
5+
6+
To store in-app messages in memory on both iOS and Android, set `useInMemoryStorageForInApps` to `true`:
7+
8+
```javascript
9+
const config = new IterableConfig();
10+
// ... other configuration options ...
11+
config.useInMemoryStorageForInApps = true;
12+
Iterable.initialize('<YOUR_API_KEY>', config);
13+
```
14+
15+
This release deprecates `androidSdkUseInMemoryStorageForInApps`, which was introduced in version 1.3.7, and replaces it with `useInMemoryStorageForInApps`. However, for now:
16+
17+
- Android apps store in-app messages in memory if `useInMemoryStorageForInApps` is `true`, `androidSdkUseInMemoryStorageForInApps` is `true`, or if both are `true`.
18+
19+
- iOS apps store in-app messages in memory if `useInMemoryStorageForInApps` is `true`. `androidSdkUseInMemoryStorageForInApps` does not affect iOS apps.
20+
21+
When you can, please update your apps to use `useInMemoryStorageForInApps` instead of `androidSdkUseInMemoryStorageForInApps`.
22+
23+
When users upgrade to a version of your iOS or Android app that uses this version of the SDK (or higher), and they've enabled in-app memory storage, the local file used for in-app message storage (if it already exists) is deleted. However, no data is lost.
24+
125
## 1.3.7
226
Starting with this release, as a privacy enhancement, Iterable’s React Native
327
SDK encrypts some data stored at rest.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iterable/react-native-sdk",
3-
"version": "1.3.7",
3+
"version": "1.3.8",
44
"description": "Iterable SDK for React Native.",
55
"main": "./js/index.js",
66
"types": "./js/index.d.ts",

0 commit comments

Comments
 (0)