Skip to content

Commit 4346a6f

Browse files
committed
chore: bump version 1.3.21
1 parent 4e44187 commit 4346a6f

File tree

6 files changed

+58
-20
lines changed

6 files changed

+58
-20
lines changed

CHANGELOG.md

Lines changed: 53 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,37 @@
1+
## 1.3.21
2+
3+
## Fixes
4+
5+
- Fixes an issue where react native components that use safe-area-context or react-navigation throw an error because the sdk's components try and use its own local node_modules instead of the consumer's project.
6+
17
## 1.3.20
8+
29
## Fixes
10+
311
- Fixes an issue where the iOS SDK incorrectly targeted the latest minor version instead of a fixed version, potentially causing breaking changes.
412

513
## 1.3.19
14+
615
## Updates
16+
717
- updates to RN version 0.68.0 to address various security vulnerabilities
818

919
## 1.3.18
20+
1021
## Updates
22+
1123
- adds user id login for sample apps
1224
- version mapping to newest native SDK versions
1325
- updates versions of various package dependencies
1426

1527
## 1.3.17
28+
1629
## Fixed
30+
1731
- Fixes a specific Android issue where apps could crash due to EncryptedSharedPreference being null.
1832

1933
## 1.3.16
34+
2035
## Updates
2136

2237
This release allows you to use projects hosted on Iterable's EU data center. If your project is hosted on Iterable's [European data center (EUDC)](https://support.iterable.com/hc/articles/17572750887444), configure the SDK to use Iterable's EU-based API endpoints:
@@ -25,54 +40,63 @@ This release allows you to use projects hosted on Iterable's EU data center. If
2540
const config = new IterableConfig();
2641
// ... other configuration options ...
2742
config.dataRegion = IterableDataRegion.EU;
28-
Iterable.initialize('<YOUR_API_KEY>', config);
43+
Iterable.initialize("<YOUR_API_KEY>", config);
2944
```
3045

3146
## Fixed
47+
3248
- Addressed push notification deep linking issues on Android where the app would restart instead of resuming the last activity upon being backgrounded.
3349
- Resolves an additional push notification problem on Android wherein the customActionHandler and urlHandler were not being invoked in specific scenarios, as documented in issue #470. (Credit to @tnortman-jabra for the report and the fix)
3450

3551
## 1.3.15
52+
3653
## Updates
54+
3755
- Resolves Android build issues caused in 1.3.14
3856
- Fixes a specific Android issue where custom action handlers were not invoked when tapping on push notification when the app is in background.
3957

4058
## 1.3.14
59+
4160
> **Warning**
4261
> This version causes build failure on Android. Please use 1.3.15 which fixes this issue.
62+
4363
## updates
64+
4465
- updates `Iterable.setEmail` and `Iterable.setUserId` to take in null parameter type
4566
- fixes `Iterable.updateUser` on the Android side to merge nested objects in the user profile when `mergeNestedObjects` is set to true
4667

4768
## 1.3.9
69+
4870
### Added
4971

50-
[Version 1.3.9](https://github.com/Iterable/react-native-sdk/releases/tag/1.3.9) 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.)
72+
[Version 1.3.9](https://github.com/Iterable/react-native-sdk/releases/tag/1.3.9) 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.)
5173

5274
To store in-app messages in memory on both iOS and Android, set `useInMemoryStorageForInApps` to `true`:
5375

5476
```javascript
5577
const config = new IterableConfig();
5678
// ... other configuration options ...
5779
config.useInMemoryStorageForInApps = true;
58-
Iterable.initialize('<YOUR_API_KEY>', config);
80+
Iterable.initialize("<YOUR_API_KEY>", config);
5981
```
6082

61-
This release deprecates `androidSdkUseInMemoryStorageForInApps`, which was introduced in version 1.3.7, and replaces it with `useInMemoryStorageForInApps`. However, for now:
83+
This release deprecates `androidSdkUseInMemoryStorageForInApps`, which was introduced in version 1.3.7, and replaces it with `useInMemoryStorageForInApps`. However, for now:
6284

63-
- Android apps store in-app messages in memory if `useInMemoryStorageForInApps` is `true`, `androidSdkUseInMemoryStorageForInApps` is `true`, or if both are `true`.
85+
- Android apps store in-app messages in memory if `useInMemoryStorageForInApps` is `true`, `androidSdkUseInMemoryStorageForInApps` is `true`, or if both are `true`.
6486

6587
- iOS apps store in-app messages in memory if `useInMemoryStorageForInApps` is `true`. `androidSdkUseInMemoryStorageForInApps` does not affect iOS apps.
6688

6789
When you can, please update your apps to use `useInMemoryStorageForInApps` instead of `androidSdkUseInMemoryStorageForInApps`.
6890

69-
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.
91+
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.
7092

7193
## 1.3.7
94+
7295
Starting with this release, as a privacy enhancement, Iterable’s React Native
7396
SDK encrypts some data stored at rest.
7497

7598
#### iOS updates
99+
76100
In iOS apps, Iterable's React Native SDK now encrypts the following fields when
77101
storing them at rest:
78102

@@ -86,7 +110,7 @@ storing them at rest:
86110
messages at rest—before or after this update.)
87111

88112
When a user upgrades to a version of your app that uses this version of the SDK
89-
(or higher), the fields shown above are encrypted. No data that's already stored
113+
(or higher), the fields shown above are encrypted. No data that's already stored
90114
is lost.
91115

92116
For more information about this encryption in iOS, examine the source code for
@@ -96,10 +120,12 @@ Iterable's iOS SDK (upon which the React Native SDK relies):
96120
- [`KeychainWrapper`](https://github.com/Iterable/swift-sdk/blob/master/swift-sdk/Internal/KeychainWrapper.swift)
97121

98122
#### Android updates
123+
99124
For Android, this release includes support for encrypting some data at rest,
100125
and an option to store in-app messages in memory.
101126

102127
##### Encrypted data
128+
103129
In Android apps with `minSdkVersion` 23 or higher ([Android 6.0](https://developer.android.com/studio/releases/platforms#6.0))
104130
Iterable's React Native SDK now encrypts the following fields when storing
105131
them at rest:
@@ -111,31 +137,33 @@ them at rest:
111137
(Note that, in Android apps, Iterable's React Native SDK does not store the last
112138
push payload at rest—before or after this update.)
113139

114-
For more information about this encryption in Android, examine the source code
140+
For more information about this encryption in Android, examine the source code
115141
for Iterable's Android SDK (upon which the React Native SDK relies):
116142
[`IterableKeychain`](https://github.com/Iterable/iterable-android-sdk/blob/master/iterableapi/src/main/java/com/iterable/iterableapi/IterableKeychain.kt).
117143

118144
##### Storing in-app messages in memory
119-
This release also allows you to have your Android apps (regardless of `minSdkVersion`)
145+
146+
This release also allows you to have your Android apps (regardless of `minSdkVersion`)
120147
store in-app messages in memory, rather than in an unencrypted local file.
121148
However, an unencrypted local file is still the default option.
122149

123-
To store in-app messages in memory, on `IterableConfig`, set
150+
To store in-app messages in memory, on `IterableConfig`, set
124151
`androidSdkUseInMemoryStorageForInApps` to `true` (defaults to `false`):
125152

126153
```javascript
127154
const config = new IterableConfig();
128155
// ... other configuration options ...
129156
config.androidSdkUseInMemoryStorageForInApps = true;
130-
Iterable.initialize('<YOUR_API_KEY>', config);
157+
Iterable.initialize("<YOUR_API_KEY>", config);
131158
```
132159

133160
When users upgrade to a version of your Android app that uses this version of
134-
the SDK (or higher), and you've set this configuration option to `true`, the
161+
the SDK (or higher), and you've set this configuration option to `true`, the
135162
local file used for in-app message storage (if it already exists) is deleted
136163
However, no data is lost.
137164

138165
##### Android upgrade instructions
166+
139167
If your app targets API level 23 or higher, this is a standard SDK upgrade, with
140168
no special instructions.
141169

@@ -145,36 +173,45 @@ encrypt data):
145173

146174
1. In `AndroidManifest.xml`, add `<uses-sdk tools:overrideLibrary="androidx.security" />`
147175
2. In your app's `app/build.gradle`:
148-
- Add `multiDexEnabled true` to the `default` object, under `android`.
149-
- Add `implementation androidx.multidex:multidex:2.0.1` to the `dependencies`.
176+
177+
- Add `multiDexEnabled true` to the `default` object, under `android`.
178+
- Add `implementation androidx.multidex:multidex:2.0.1` to the `dependencies`.
150179

151180
### Objective-C compatibility headers for React Native 0.68+
181+
152182
To help solve build errors that can arise when using Iterable's SDK with React
153183
Native 0.68+, which uses Objective-C++, we've created some Objective-C
154-
compatibility headers that you can import into your project. For details, read
184+
compatibility headers that you can import into your project. For details, read
155185
[Installing Iterable's React Native SDK — Step 3.3: Import the SDK](https://support.iterable.com/hc/articles/360045714132#step-3-3-import-the-sdk).
156186

157187
## 1.1.0
188+
158189
#### Added
190+
159191
- Offline events processing
160192
This feature saves a local copy of events triggered in your app while the device is offline (up to 1000 events). When a connection is re-established and your app is in the foreground, the events will be sent to Iterable.
161193
Offline events processing is off by default, and we're rolling it out on a customer-by-customer basis. After you start using this version of the SDK, we'll send you a message before we enable the feature on your account (unfortunately, we can't give you an exact timeline for when this will happen). If you have any questions, talk to your Iterable customer success manager.
162194
To use this feature, you must follow the SDK [upgrade instructions](#upgrade-instructions-for-version-1-1-0).
195+
163196
#### Updated
197+
164198
- New properties on the `IterableCommerceItem` class
165199
The `IterableCommerceItem` class (which you can pass to the `trackPurchase` method on the `Iterable` class) now includes additional properties (all optional):
166200
- `sku` (string) - The item's SKU
167201
- `description` (string) - A description of the item
168202
- `url` (string) - A URL associated with the item
169203
- `imageUrl` (string) - A URL that points to an image of the item
170204
- `categories` (string) - Categories to associate with the item
205+
171206
#### Upgrade instructions for version 1.1.0
207+
172208
To use this version of Iterable's React Native SDK, you'll need to update your native Android application's `Application` class:
209+
173210
- Add this import:
174211
```java
175212
import com.iterable.iterableapi.IterableApi;
176213
```
177214
- At the end of the `onCreate` method, add this line of code:
178215
```java
179216
IterableApi.setContext(this);
180-
```
217+
```

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ For quick reference, the following table lists the versions of the [Android SDK]
6464

6565
| RN SDK Version | Android SDK Version | iOS SDK Version |
6666
| --------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | --------------- |
67+
| [1.3.21](https://www.npmjs.com/package/@iterable/react-native-sdk/v/1.3.20) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.4](https://github.com/Iterable/swift-sdk/releases/tag/6.5.4)
6768
| [1.3.20](https://www.npmjs.com/package/@iterable/react-native-sdk/v/1.3.20) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.4](https://github.com/Iterable/swift-sdk/releases/tag/6.5.4)
6869
| [1.3.19](https://www.npmjs.com/package/@iterable/react-native-sdk/v/1.3.19) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.3](https://github.com/Iterable/swift-sdk/releases/tag/6.5.3)
6970
| [1.3.18](https://www.npmjs.com/package/@iterable/react-native-sdk/v/1.3.18) | [3.5.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.5.2) | [6.5.3](https://github.com/Iterable/swift-sdk/releases/tag/6.5.3)

SampleApp/javascript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13-
"@iterable/react-native-sdk": "^1.3.20",
13+
"@iterable/react-native-sdk": "^1.3.21",
1414
"@react-native-community/masked-view": "^0.1.10",
1515
"@react-native-community/toolbar-android": "^0.1.0-rc.2",
1616
"@react-navigation/bottom-tabs": "^5.4.5",

SampleApp/typescript/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"lint": "eslint ."
1111
},
1212
"dependencies": {
13-
"@iterable/react-native-sdk": "^1.3.20",
13+
"@iterable/react-native-sdk": "^1.3.21",
1414
"@react-native-community/masked-view": "^0.1.10",
1515
"@react-native-community/toolbar-android": "^0.1.0-rc.2",
1616
"@react-navigation/bottom-tabs": "^5.4.5",

integration-testing/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"e2e:android-release": "npm run build:android-release && npm run test:android-release"
1111
},
1212
"dependencies": {
13-
"@iterable/react-native-sdk": "^1.3.20",
13+
"@iterable/react-native-sdk": "^1.3.21",
1414
"@react-native-community/masked-view": "^0.1.10",
1515
"@react-navigation/bottom-tabs": "^5.4.5",
1616
"@react-navigation/native": "^5.4.0",

package.json

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

0 commit comments

Comments
 (0)