From e4c47d45e32852a2153e74af76af9a92a380740d Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Wed, 15 Nov 2023 11:07:24 -0700 Subject: [PATCH 1/2] prepares 3.4.17 release --- CHANGELOG.md | 6 ++++++ iterableapi-ui/build.gradle | 2 +- iterableapi/build.gradle | 4 ++-- sample-apps/inbox-customization/app/build.gradle | 4 ++-- 4 files changed, 11 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd4749766..cab77ab56 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ This project adheres to [Semantic Versioning](http://semver.org/). #### Changed - nothing yet +## [3.4.17](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.17) +#### Added +- `IterableAuthManager` now fetches and stores locally new JWT token +- `IterableRequestTask` now has a retry mechanism that fetches a new JWT token and retries the request if JWT is invalid +- retries are capped at a max of 5 + ## [3.4.16](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.16) #### Fixed - SDK now handles `null` scenarios preventing crashes when `IterableEncryptedSharedPreference` creation fails. diff --git a/iterableapi-ui/build.gradle b/iterableapi-ui/build.gradle index a8d9790ac..b04bef695 100644 --- a/iterableapi-ui/build.gradle +++ b/iterableapi-ui/build.gradle @@ -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.16' + libraryVersion = '3.4.17' developerId = 'davidtruong' developerName = 'David Truong' diff --git a/iterableapi/build.gradle b/iterableapi/build.gradle index b874ca4a9..1307df90d 100644 --- a/iterableapi/build.gradle +++ b/iterableapi/build.gradle @@ -16,7 +16,7 @@ android { minSdkVersion 16 targetSdkVersion 27 - buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.16\"" + buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.4.17\"" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -81,7 +81,7 @@ ext { siteUrl = 'https://github.com/Iterable/iterable-android-sdk' gitUrl = 'https://github.com/Iterable/iterable-android-sdk.git' - libraryVersion = '3.4.16' + libraryVersion = '3.4.17' developerId = 'davidtruong' developerName = 'David Truong' diff --git a/sample-apps/inbox-customization/app/build.gradle b/sample-apps/inbox-customization/app/build.gradle index 665858fdf..75859e5f1 100644 --- a/sample-apps/inbox-customization/app/build.gradle +++ b/sample-apps/inbox-customization/app/build.gradle @@ -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.16' - implementation 'com.iterable:iterableapi-ui:3.4.16' + implementation 'com.iterable:iterableapi:3.4.17' + implementation 'com.iterable:iterableapi-ui:3.4.17' implementation 'com.squareup.okhttp3:mockwebserver:4.2.2' testImplementation 'junit:junit:4.12' From 7d3780fee771efdd3513971585bc1af606ae4ccf Mon Sep 17 00:00:00 2001 From: Evan Greer Date: Thu, 16 Nov 2023 08:29:51 -0700 Subject: [PATCH 2/2] updates changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cab77ab56..47b205c63 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ This project adheres to [Semantic Versioning](http://semver.org/). ## [3.4.17](https://github.com/Iterable/iterable-android-sdk/releases/tag/3.4.17) #### Added -- `IterableAuthManager` now fetches and stores locally new JWT token +- when JWT is invalid, `IterableAuthManager` is updated to fetch and store a new JWT token locally - `IterableRequestTask` now has a retry mechanism that fetches a new JWT token and retries the request if JWT is invalid - retries are capped at a max of 5