Skip to content

Commit d5e75ae

Browse files
authored
Merge pull request #144 from Iterable/MOB-2968-version-1.1.0
[MOB-2968] version 1.1.0
2 parents 1bf480c + 7248aff commit d5e75ae

File tree

4 files changed

+773
-945
lines changed

4 files changed

+773
-945
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
## 1.1.0
2+
#### Added
3+
- Offline events processing
4+
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.
5+
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.
6+
To use this feature, you must follow the SDK [upgrade instructions](#upgrade-instructions-for-version-1-1-0).
7+
#### Updated
8+
- New properties on the `IterableCommerceItem` class
9+
The `IterableCommerceItem` class (which you can pass to the `trackPurchase` method on the `Iterable` class) now includes additional properties (all optional):
10+
- `sku` (string) - The item's SKU
11+
- `description` (string) - A description of the item
12+
- `url` (string) - A URL associated with the item
13+
- `imageUrl` (string) - A URL that points to an image of the item
14+
- `categories` (string) - Categories to associate with the item
15+
#### Upgrade instructions for version 1.1.0
16+
To use this version of Iterable's React Native SDK, you'll need to update your native Android application's `Application` class:
17+
- Add this import:
18+
```java
19+
import com.iterable.iterableapi.IterableApi;
20+
```
21+
- At the end of the `onCreate` method, add this line of code:
22+
```java
23+
IterableApi.setContext(this);
24+
```

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ def getModuleVersion() {
2222

2323
dependencies {
2424
implementation 'com.facebook.react:react-native:+'
25-
api 'com.github.Iterable.iterable-android-sdk:iterableapi:3.3.1'
25+
api 'com.iterable:iterableapi:3.3.2'
2626
}

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@iterable/react-native-sdk",
3-
"version": "1.1.0-beta2",
3+
"version": "1.1.0",
44
"description": "Iterable SDK for React Native.",
55
"main": "./js/index.js",
66
"types": "./js/index.d.ts",
@@ -46,4 +46,4 @@
4646
"react": "*",
4747
"react-native": "*"
4848
}
49-
}
49+
}

0 commit comments

Comments
 (0)