From 5d847dd686a22cd39b01925e053b56f8258d6391 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CAkshay?= <“ayyanchira.akshay@gmail.com”> Date: Mon, 8 Jul 2024 11:20:03 -0700 Subject: [PATCH] [MOB-8921] - Prepare for 3.5.3 --- CHANGELOG.md | 9 +++++++++ iterableapi-ui/build.gradle | 2 +- iterableapi/build.gradle | 4 ++-- sample-apps/inbox-customization/app/build.gradle | 4 ++-- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3e01e2cfa..0a57ee7b0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,15 @@ This project adheres to [Semantic Versioning](http://semver.org/). #### Changed - nothing yet +## [3.5.3] +#### Fixed +- Fixed an [issue](https://github.com/Iterable/react-native-sdk/issues/547) where the SDK would crash if the `IterableInAppMessage` object was null when consuming an in-app message. + +#### Changed +- SDK now provides more insight into JWT refresh failures, so you can take appropriate action in your application code. With this update, when a JWT refresh fails (for any of various reasons), the SDK calls `onAuthFailure` on the `IterableAuthHandler` instance you can provide to the SDK at initialization. + For more information, see the [documentation](https://support.iterable.com/hc/articles/360035019712) for Iterable's Android SDK. +- The IterableAuthHandler's `onTokenRegistrationFailed(Throwable object)` has been replaced with `onAuthFailure(Throwable object)` which will be called when JWT token refresh fails. + ## [3.5.2] #### Added - Introducing a new method `setAuthRetryPolicy` in `IterableConfig` to set the retry policy for JWT token refresh. diff --git a/iterableapi-ui/build.gradle b/iterableapi-ui/build.gradle index 0f8197f5c..a67875e99 100644 --- a/iterableapi-ui/build.gradle +++ b/iterableapi-ui/build.gradle @@ -51,7 +51,7 @@ dependencies { ext { libraryName = 'iterableapi-ui' - libraryVersion = '3.5.2' + libraryVersion = '3.5.3' } if (hasProperty("mavenPublishEnabled")) { diff --git a/iterableapi/build.gradle b/iterableapi/build.gradle index 49c9fa489..926aa73ed 100644 --- a/iterableapi/build.gradle +++ b/iterableapi/build.gradle @@ -19,7 +19,7 @@ android { minSdkVersion 16 targetSdkVersion 27 - buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.5.2\"" + buildConfigField "String", "ITERABLE_SDK_VERSION", "\"3.5.3\"" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } @@ -85,7 +85,7 @@ dependencies { ext { libraryName = 'iterableapi' - libraryVersion = '3.5.2' + libraryVersion = '3.5.3' } if (hasProperty("mavenPublishEnabled")) { diff --git a/sample-apps/inbox-customization/app/build.gradle b/sample-apps/inbox-customization/app/build.gradle index 06895408e..3b4838839 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.5.2' - implementation 'com.iterable:iterableapi-ui:3.5.2' + implementation 'com.iterable:iterableapi:3.5.3' + implementation 'com.iterable:iterableapi-ui:3.5.3' implementation 'com.squareup.okhttp3:mockwebserver:4.2.2' testImplementation 'junit:junit:4.12'