Skip to content

Commit

Permalink
Prepare for 3.1.0-beta2
Browse files Browse the repository at this point in the history
  • Loading branch information
vbabenkoru committed Apr 17, 2019
1 parent 8c4493a commit ca94028
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 2 deletions.
21 changes: 21 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,27 @@ This project adheres to [Semantic Versioning](http://semver.org/).
#### Fixed
- nothing yet

## [3.1.0-beta2](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.1.0-beta2)

#### Changed
- **BREAKING CHANGE:** Added `IterableContext` argument to `IterableCustomActionHandler`

The new method signature is:
```java
boolean handleIterableCustomAction(IterableAction action, IterableActionContext actionContext)
```
`actionContext` can be used to determine where the call is calling from - push message, in-app message, or a deep link.
- Custom in-app JSON payload has been moved from `IterableInAppMessage.Content.payload` to `IterableInAppMessage.customPayload`
- Changes to in-app links:
- `action://` URL scheme is now reserved for app-specific custom actions.
When a user clicks on a link with `href` = `action://myCustomAction`, the SDK calls `IterableCustomActionHandler.handleIterableCustomAction` with action type set to `myCustomAction`.
- `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)
- **Migration:** if you've been using `itbl://` links in the past, please update your templates with `action://` instead
- Connect timeout for deeplink resolution is now 3 seconds

#### Fixed
- Fixed the URL parameter in `inAppClick` event

## [3.1.0-beta1](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.1.0-beta1)

#### Added
Expand Down
4 changes: 2 additions & 2 deletions iterableapi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ android {
minSdkVersion 15
targetSdkVersion 27

buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.1.0-beta1\""
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.1.0-beta2\""

testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
Expand Down Expand Up @@ -66,7 +66,7 @@ ext {
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'

libraryVersion = '3.1.0-beta1'
libraryVersion = '3.1.0-beta2'

developerId = 'davidtruong'
developerName = 'David Truong'
Expand Down

0 comments on commit ca94028

Please sign in to comment.