1.3.9
Added
This release 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 added this same support for Android.)
To store in-app messages in memory on both iOS and Android, set useInMemoryStorageForInApps
to true
:
const config = new IterableConfig();
// ... other configuration options ...
config.useInMemoryStorageForInApps = true;
Iterable.initialize('<YOUR_API_KEY>', config);
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.
Deprecated
This release deprecates androidSdkUseInMemoryStorageForInApps
, which was introduced in version 1.3.7, and replaces it with useInMemoryStorageForInApps
. However, for now:
-
Android apps store in-app messages in memory if
useInMemoryStorageForInApps
istrue
,androidSdkUseInMemoryStorageForInApps
istrue
, or if both aretrue
. -
iOS apps store in-app messages in memory if
useInMemoryStorageForInApps
istrue
.androidSdkUseInMemoryStorageForInApps
does not affect iOS apps.
When you can, please update your apps to use useInMemoryStorageForInApps
instead of androidSdkUseInMemoryStorageForInApps
.