Skip to content

Commit ca94028

Browse files
committed
Prepare for 3.1.0-beta2
1 parent 8c4493a commit ca94028

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,27 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1515
#### Fixed
1616
- nothing yet
1717

18+
## [3.1.0-beta2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.1.0-beta2)
19+
20+
#### Changed
21+
- **BREAKING CHANGE:** Added `IterableContext` argument to `IterableCustomActionHandler`
22+
23+
The new method signature is:
24+
```java
25+
boolean handleIterableCustomAction(IterableAction action, IterableActionContext actionContext)
26+
```
27+
`actionContext` can be used to determine where the call is calling from - push message, in-app message, or a deep link.
28+
- Custom in-app JSON payload has been moved from `IterableInAppMessage.Content.payload` to `IterableInAppMessage.customPayload`
29+
- Changes to in-app links:
30+
- `action://` URL scheme is now reserved for app-specific custom actions.
31+
When a user clicks on a link with `href` = `action://myCustomAction`, the SDK calls `IterableCustomActionHandler.handleIterableCustomAction` with action type set to `myCustomAction`.
32+
- `itbl://` URL scheme is now reserved for actions handled by the SDK (i.e. future versions of the SDK may define `itbl://delete` as an action to delete the in-app message)
33+
- **Migration:** if you've been using `itbl://` links in the past, please update your templates with `action://` instead
34+
- Connect timeout for deeplink resolution is now 3 seconds
35+
36+
#### Fixed
37+
- Fixed the URL parameter in `inAppClick` event
38+
1839
## [3.1.0-beta1](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.1.0-beta1)
1940

2041
#### Added

iterableapi/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ android {
99
minSdkVersion 15
1010
targetSdkVersion 27
1111

12-
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.1.0-beta1\""
12+
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.1.0-beta2\""
1313

1414
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
1515
}
@@ -66,7 +66,7 @@ ext {
6666
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
6767
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'
6868

69-
libraryVersion = '3.1.0-beta1'
69+
libraryVersion = '3.1.0-beta2'
7070

7171
developerId = 'davidtruong'
7272
developerName = 'David Truong'

0 commit comments

Comments
 (0)