Skip to content

Commit

Permalink
[MOB-6223] - Prepare for 3.4.12 (#571)
Browse files Browse the repository at this point in the history
* [MOB-6223] - Prepare for 3.4.12

* Checkstyle fix

---------

Co-authored-by: “Akshay <“[email protected]”>
  • Loading branch information
Ayyanchira and “Akshay authored May 17, 2023
1 parent 70a66ae commit 5fe48a2
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ This project adheres to [Semantic Versioning](http://semver.org/).

#### Fixed
- nothing yet
-
## [3.4.12](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.12)
#### Added
- `setEmail` and `setUserId` now accepts `IterableHelper.SuccessHandler successHandler` and `IterableHelper.FailureHandler failureHandler`.

#### Changed
- OTT devices (FireTV) will now register as `OTT` device instead of `Android` under user's devices.

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

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

libraryVersion = '3.4.11'
libraryVersion = '3.4.12'

developerId = 'davidtruong'
developerName = 'David Truong'
Expand Down
4 changes: 2 additions & 2 deletions iterableapi/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ android {
minSdkVersion 16
targetSdkVersion 27

buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.11\""
buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.12\""

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

libraryVersion = '3.4.11'
libraryVersion = '3.4.12'

developerId = 'davidtruong'
developerName = 'David Truong'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;

import androidx.annotation.NonNull;
Expand Down Expand Up @@ -361,8 +360,8 @@ private void retrieveEmailAndUserId() {
_userId = getKeychain().getUserId();
_authToken = getKeychain().getAuthToken();

if(config.authHandler != null) {
if(_authToken != null) {
if (config.authHandler != null) {
if (_authToken != null) {
getAuthManager().queueExpirationRefresh(_authToken);
} else {
IterableLogger.d(TAG, "Auth token found as null. Scheduling token refresh in 10 seconds...");
Expand Down
4 changes: 2 additions & 2 deletions sample-apps/inbox-customization/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ dependencies {
implementation 'androidx.navigation:navigation-ui-ktx:2.1.0'
implementation 'com.google.android.material:material:1.1.0'

implementation 'com.iterable:iterableapi:3.4.11'
implementation 'com.iterable:iterableapi-ui:3.4.11'
implementation 'com.iterable:iterableapi:3.4.12'
implementation 'com.iterable:iterableapi-ui:3.4.12'
implementation 'com.squareup.okhttp3:mockwebserver:4.2.2'

testImplementation 'junit:junit:4.12'
Expand Down

0 comments on commit 5fe48a2

Please sign in to comment.