Skip to content

Commit 2ddd07c

Browse files
committed
prepare for 2.1.3
1 parent 607aced commit 2ddd07c

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

CHANGELOG.md

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

18+
## [2.1.3](https://github.com/Iterable/iterable-android-sdk/releases/tag/2.1.3)
19+
_Released on 2017-02-22_
20+
21+
#### Added
22+
- Added support for Android deeplink tracking
23+
- `getAndTrackDeeplink` tracks a click and returns the destination url.
24+
1825
## [2.1.2](https://github.com/Iterable/iterable-android-sdk/releases/tag/2.1.2)
1926
_Released on 2017-01-09_
2027

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,24 @@ Also see our [push notification setup FAQs](http://support.iterable.com/hc/en-us
4040

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

43+
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.
44+
45+
```java
46+
protected void onCreate(Bundle savedInstanceState) {
47+
String dataUri = this.getIntent().getDataString();
48+
IterableHelper.IterableActionHandler clickCallback =
49+
new IterableHelper.IterableActionHandler(){
50+
@Override
51+
public void execute(String result) {
52+
Log.d("HandleDeeplink", "Redirected to: "+ result);
53+
//handle deeplink here
54+
}
55+
};
56+
57+
IterableApi.getAndTrackDeeplink(dataUri, clickCallback);
58+
}
59+
```
60+
4361
# License
4462

4563
The MIT License

iterableapi/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ ext {
4040
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
4141
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'
4242

43-
libraryVersion = '2.1.2'
43+
libraryVersion = '2.1.3'
4444

4545
developerId = 'davidtruong'
4646
developerName = 'David Truong'

0 commit comments

Comments
 (0)