diff --git a/Documentation/release-notes.md b/Documentation/release-notes.md index b6e499b5..ceac7746 100644 --- a/Documentation/release-notes.md +++ b/Documentation/release-notes.md @@ -11,6 +11,27 @@ parentDocSlug: android-sdk > Refer to the [SDK version update guide](https://documentation.bloomreach.com/engagement/docs/android-sdk-version-update) for details on updating to the next major version. ## Release Notes +## Release Notes for 4.0.0 +#### September 25, 2024 +* Added: + * Improves the behavior of the Segmentation API’s getSegments method. + * Adds identification of Cancel button clicks in in-app message close events and inclusion of the button label in the tracked event. + * Adds documentation on overriding button action type. + * Speeds up loading of in-app content blocks. + * Improves in-app content block carousel type documentation. + * Updates the default session timeout to 60 seconds. + * Adds tracking of session end when calling anonymize() while auto session tracking is enabled. + * Adds automatic session end tracking for open sessions when sessionStart is called multiple times. This behavior is consistent with that of the iOS SDK and can be configured using the manualSessionAutoClose configuration parameter. + * Adds tracking of new state and notification_importance parameters to push notification delivery events. + * Extends ContentBlockCarouselCallback with additional callback methods. + * Adds a push notification delegate API to listen for push notification delivery and action clicks. +* Fixed: + * Fixes an issue where fetching App Inbox after calling identifyCustomer returned corrupt data. + * Fixes an issue where reloading in-app messages triggered an infinite loop. + * Fixes an issue where push notifications would not open the app on Xiaomi devices. + * Fixes playing the default notification sound if a custom sound resource could not be loaded. + + ## Release Notes for 3.16.0 #### August 02, 2024 * Added: diff --git a/Documentation/setup.md b/Documentation/setup.md index c8e9b984..63953f72 100644 --- a/Documentation/setup.md +++ b/Documentation/setup.md @@ -18,7 +18,7 @@ The Exponea Android SDK can be installed or updated using [Gradle](https://gradl 1. In your app's `build.gradle.kts` file, add `com.exponea.sdk:sdk` inside the `dependencies { }` section: ```kotlin - implementation("com.exponea.sdk:sdk:3.16.0") + implementation("com.exponea.sdk:sdk:4.0.0") ``` 2. Rebuild your project (`Build` > `Rebuild Project`). @@ -26,7 +26,7 @@ The Exponea Android SDK can be installed or updated using [Gradle](https://gradl 1. In your app's `build.gradle` file, add `com.exponea.sdk:sdk` inside the `dependencies { }` section: ```groovy - implementation 'com.exponea.sdk:sdk:3.16.0' + implementation 'com.exponea.sdk:sdk:4.0.0' ``` 2. Rebuild your project (`Build` > `Rebuild Project`). @@ -37,7 +37,7 @@ The Exponea Android SDK can be installed or updated using [Gradle](https://gradl com.exponea.sdk sdk - 3.16.0 + 4.0.0 ``` 2. Rebuild your app with Maven. @@ -200,7 +200,7 @@ You may get a build error similar to the following, especially in a default new ``` Manifest merger failed : Attribute application@fullBackupContent value=(@xml/backup_rules) from AndroidManifest.xml:8:9-54 - is also present at [com.exponea.sdk:sdk:3.16.0] AndroidManifest.xml:15:9-70 value=(@xml/exponea_default_backup_rules). + is also present at [com.exponea.sdk:sdk:4.0.0] AndroidManifest.xml:15:9-70 value=(@xml/exponea_default_backup_rules). ``` The SDK and the new app generated by Android Studio both enable the [auto backup feature](https://developer.android.com/guide/topics/data/autobackup) in `AndroidManifest.xml` but each with their own backup rules. It is up to you as a developer to [manage the manifest files](https://developer.android.com/build/manage-manifests) and ensure they can be merged properly. diff --git a/README.md b/README.md index 333e802a..8a04f774 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ Download via Gradle: ```groovy dependencies { - implementation 'com.exponea.sdk:sdk:3.16.0' + implementation 'com.exponea.sdk:sdk:4.0.0' } ``` @@ -35,7 +35,7 @@ Download via Maven: com.exponea.sdk sdk - 3.16.0 + 4.0.0 ``` diff --git a/app/build.gradle b/app/build.gradle index c81aae08..46236963 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,8 +15,8 @@ android { minSdkVersion 21 targetSdkVersion 34 compileSdk 34 - versionCode 84 - versionName "3.16.0" + versionCode 85 + versionName "4.0.0" vectorDrawables.useSupportLibrary = true } compileOptions { diff --git a/sdk/build.gradle b/sdk/build.gradle index 0e216462..fc994b0a 100644 --- a/sdk/build.gradle +++ b/sdk/build.gradle @@ -12,8 +12,8 @@ android { minSdkVersion 17 targetSdkVersion 34 compileSdk 34 - buildConfigField "String", "EXPONEA_VERSION_NAME", '"3.16.0"' - buildConfigField "int", "EXPONEA_VERSION_CODE", "79" + buildConfigField "String", "EXPONEA_VERSION_NAME", '"4.0.0"' + buildConfigField "int", "EXPONEA_VERSION_CODE", "80" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" consumerProguardFiles 'proguard-rules.pro' }