Skip to content

Commit

Permalink
feat/Version 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
adam1929 authored Sep 25, 2024
1 parent 96fdfd1 commit f58e80c
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 10 deletions.
21 changes: 21 additions & 0 deletions Documentation/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 4 additions & 4 deletions Documentation/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ 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`).

### Gradle (Groovy)

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`).

Expand All @@ -37,7 +37,7 @@ The Exponea Android SDK can be installed or updated using [Gradle](https://gradl
<dependency>
<groupId>com.exponea.sdk</groupId>
<artifactId>sdk</artifactId>
<version>3.16.0</version>
<version>4.0.0</version>
</dependency>
```
2. Rebuild your app with Maven.
Expand Down Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
```

Expand All @@ -35,7 +35,7 @@ Download via Maven:
<dependency>
<groupId>com.exponea.sdk</groupId>
<artifactId>sdk</artifactId>
<version>3.16.0</version>
<version>4.0.0</version>
</dependency>
```

Expand Down
4 changes: 2 additions & 2 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions sdk/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
Expand Down

0 comments on commit f58e80c

Please sign in to comment.