Skip to content

Commit

Permalink
prepare for 2.1.3
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtruong committed Feb 23, 2017
1 parent 607aced commit 2ddd07c
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
#### Fixed
- nothing yet

## [2.1.3](https://github.com/Iterable/iterable-android-sdk/releases/tag/2.1.3)
_Released on 2017-02-22_

#### Added
- Added support for Android deeplink tracking
- `getAndTrackDeeplink` tracks a click and returns the destination url.

## [2.1.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/2.1.2)
_Released on 2017-01-09_

Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,24 @@ Also see our [push notification setup FAQs](http://support.iterable.com/hc/en-us

See our [Deeplinking Setup Guide] (https://support.iterable.com/hc/en-us/articles/211676923)

From your application's [onCreate] (https://developer.android.com/reference/android/app/Activity.html#onCreate(android.os.Bundle)) call `getAndTrackDeeplink` along with a callback to handle the destination deeplink url.

```java
protected void onCreate(Bundle savedInstanceState) {
String dataUri = this.getIntent().getDataString();
IterableHelper.IterableActionHandler clickCallback =
new IterableHelper.IterableActionHandler(){
@Override
public void execute(String result) {
Log.d("HandleDeeplink", "Redirected to: "+ result);
//handle deeplink here
}
};

IterableApi.getAndTrackDeeplink(dataUri, clickCallback);
}
```

# License

The MIT License
Expand Down
2 changes: 1 addition & 1 deletion iterableapi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ ext {
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'

libraryVersion = '2.1.2'
libraryVersion = '2.1.3'

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

0 comments on commit 2ddd07c

Please sign in to comment.