Skip to content

Commit f58e80c

Browse files
authored
feat/Version 4.0.0
1 parent 96fdfd1 commit f58e80c

File tree

5 files changed

+31
-10
lines changed

5 files changed

+31
-10
lines changed

Documentation/release-notes.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,27 @@ parentDocSlug: android-sdk
1111
> 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.
1212
1313
## Release Notes
14+
## Release Notes for 4.0.0
15+
#### September 25, 2024
16+
* Added:
17+
* Improves the behavior of the Segmentation API’s getSegments method.
18+
* Adds identification of Cancel button clicks in in-app message close events and inclusion of the button label in the tracked event.
19+
* Adds documentation on overriding button action type.
20+
* Speeds up loading of in-app content blocks.
21+
* Improves in-app content block carousel type documentation.
22+
* Updates the default session timeout to 60 seconds.
23+
* Adds tracking of session end when calling anonymize() while auto session tracking is enabled.
24+
* 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.
25+
* Adds tracking of new state and notification_importance parameters to push notification delivery events.
26+
* Extends ContentBlockCarouselCallback with additional callback methods.
27+
* Adds a push notification delegate API to listen for push notification delivery and action clicks.
28+
* Fixed:
29+
* Fixes an issue where fetching App Inbox after calling identifyCustomer returned corrupt data.
30+
* Fixes an issue where reloading in-app messages triggered an infinite loop.
31+
* Fixes an issue where push notifications would not open the app on Xiaomi devices.
32+
* Fixes playing the default notification sound if a custom sound resource could not be loaded.
33+
34+
1435
## Release Notes for 3.16.0
1536
#### August 02, 2024
1637
* Added:

Documentation/setup.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ The Exponea Android SDK can be installed or updated using [Gradle](https://gradl
1818

1919
1. In your app's `build.gradle.kts` file, add `com.exponea.sdk:sdk` inside the `dependencies { }` section:
2020
```kotlin
21-
implementation("com.exponea.sdk:sdk:3.16.0")
21+
implementation("com.exponea.sdk:sdk:4.0.0")
2222
```
2323
2. Rebuild your project (`Build` > `Rebuild Project`).
2424

2525
### Gradle (Groovy)
2626

2727
1. In your app's `build.gradle` file, add `com.exponea.sdk:sdk` inside the `dependencies { }` section:
2828
```groovy
29-
implementation 'com.exponea.sdk:sdk:3.16.0'
29+
implementation 'com.exponea.sdk:sdk:4.0.0'
3030
```
3131
2. Rebuild your project (`Build` > `Rebuild Project`).
3232

@@ -37,7 +37,7 @@ The Exponea Android SDK can be installed or updated using [Gradle](https://gradl
3737
<dependency>
3838
<groupId>com.exponea.sdk</groupId>
3939
<artifactId>sdk</artifactId>
40-
<version>3.16.0</version>
40+
<version>4.0.0</version>
4141
</dependency>
4242
```
4343
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
200200

201201
```
202202
Manifest merger failed : Attribute application@fullBackupContent value=(@xml/backup_rules) from AndroidManifest.xml:8:9-54
203-
is also present at [com.exponea.sdk:sdk:3.16.0] AndroidManifest.xml:15:9-70 value=(@xml/exponea_default_backup_rules).
203+
is also present at [com.exponea.sdk:sdk:4.0.0] AndroidManifest.xml:15:9-70 value=(@xml/exponea_default_backup_rules).
204204
```
205205

206206
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.

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Download via Gradle:
2525

2626
```groovy
2727
dependencies {
28-
implementation 'com.exponea.sdk:sdk:3.16.0'
28+
implementation 'com.exponea.sdk:sdk:4.0.0'
2929
}
3030
```
3131

@@ -35,7 +35,7 @@ Download via Maven:
3535
<dependency>
3636
<groupId>com.exponea.sdk</groupId>
3737
<artifactId>sdk</artifactId>
38-
<version>3.16.0</version>
38+
<version>4.0.0</version>
3939
</dependency>
4040
```
4141

app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ android {
1515
minSdkVersion 21
1616
targetSdkVersion 34
1717
compileSdk 34
18-
versionCode 84
19-
versionName "3.16.0"
18+
versionCode 85
19+
versionName "4.0.0"
2020
vectorDrawables.useSupportLibrary = true
2121
}
2222
compileOptions {

sdk/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ android {
1212
minSdkVersion 17
1313
targetSdkVersion 34
1414
compileSdk 34
15-
buildConfigField "String", "EXPONEA_VERSION_NAME", '"3.16.0"'
16-
buildConfigField "int", "EXPONEA_VERSION_CODE", "79"
15+
buildConfigField "String", "EXPONEA_VERSION_NAME", '"4.0.0"'
16+
buildConfigField "int", "EXPONEA_VERSION_CODE", "80"
1717
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1818
consumerProguardFiles 'proguard-rules.pro'
1919
}

0 commit comments

Comments
 (0)