Skip to content

Commit 5fe48a2

Browse files
Ayyanchira“Akshay
and
“Akshay
authored
[MOB-6223] - Prepare for 3.4.12 (#571)
* [MOB-6223] - Prepare for 3.4.12 * Checkstyle fix --------- Co-authored-by: “Akshay <“[email protected]”>
1 parent 70a66ae commit 5fe48a2

File tree

5 files changed

+14
-8
lines changed

5 files changed

+14
-8
lines changed

CHANGELOG.md

+7
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).
1414

1515
#### Fixed
1616
- nothing yet
17+
-
18+
## [3.4.12](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.12)
19+
#### Added
20+
- `setEmail` and `setUserId` now accepts `IterableHelper.SuccessHandler successHandler` and `IterableHelper.FailureHandler failureHandler`.
21+
22+
#### Changed
23+
- OTT devices (FireTV) will now register as `OTT` device instead of `Android` under user's devices.
1724

1825
## [3.4.11](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.11)
1926

iterableapi-ui/build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ ext {
4848
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
4949
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'
5050

51-
libraryVersion = '3.4.11'
51+
libraryVersion = '3.4.12'
5252

5353
developerId = 'davidtruong'
5454
developerName = 'David Truong'

iterableapi/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ android {
1111
minSdkVersion 16
1212
targetSdkVersion 27
1313

14-
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.11\""
14+
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.12\""
1515

1616
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1717
}
@@ -75,7 +75,7 @@ ext {
7575
siteUrl = 'https://github.com/Iterable/iterable-android-sdk'
7676
gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git'
7777

78-
libraryVersion = '3.4.11'
78+
libraryVersion = '3.4.12'
7979

8080
developerId = 'davidtruong'
8181
developerName = 'David Truong'

iterableapi/src/main/java/com/iterable/iterableapi/IterableApi.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import android.content.Context;
55
import android.content.Intent;
66
import android.content.SharedPreferences;
7-
import android.os.Build;
87
import android.os.Bundle;
98

109
import androidx.annotation.NonNull;
@@ -361,8 +360,8 @@ private void retrieveEmailAndUserId() {
361360
_userId = getKeychain().getUserId();
362361
_authToken = getKeychain().getAuthToken();
363362

364-
if(config.authHandler != null) {
365-
if(_authToken != null) {
363+
if (config.authHandler != null) {
364+
if (_authToken != null) {
366365
getAuthManager().queueExpirationRefresh(_authToken);
367366
} else {
368367
IterableLogger.d(TAG, "Auth token found as null. Scheduling token refresh in 10 seconds...");

sample-apps/inbox-customization/app/build.gradle

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ dependencies {
3333
implementation 'androidx.navigation:navigation-ui-ktx:2.1.0'
3434
implementation 'com.google.android.material:material:1.1.0'
3535

36-
implementation 'com.iterable:iterableapi:3.4.11'
37-
implementation 'com.iterable:iterableapi-ui:3.4.11'
36+
implementation 'com.iterable:iterableapi:3.4.12'
37+
implementation 'com.iterable:iterableapi-ui:3.4.12'
3838
implementation 'com.squareup.okhttp3:mockwebserver:4.2.2'
3939

4040
testImplementation 'junit:junit:4.12'

0 commit comments

Comments
 (0)