diff --git a/CHANGELOG.md b/CHANGELOG.md index dff68d018..322b83b75 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,21 @@ +## 7.15.13 (April, 08, 2026) +* [DIA-6317](https://sourcepoint.atlassian.net/browse/DIA-6317) Improve the SDK's thread safety in an attempt to fix a potential race condition causing the SKD to call `onUIReady` more than once, resulting in a crash when the app attempted to add the consent view a second time to the view hierarchy. [#885](https://github.com/SourcePointUSA/android-cmp-app/pull/885) +* update `mobile-core` to version `0.1.16` which also brings thread safety improvements when accessing the SharedPrefs. [#886](https://github.com/SourcePointUSA/android-cmp-app/pull/886) + +## 7.15.12-beta-1 (March, 25, 2026) +* [DIA-6242](https://sourcepoint.atlassian.net/browse/DIA-6242) [Android TV] Implement experimental `InternalCoroutinesApi` +- [x] Beta version release! + +## 7.15.12-beta-1 (December, 24, 2025) +* [DIA-6242](https://sourcepoint.atlassian.net/browse/DIA-6242) [Android TV] Implement experimental `InternalCoroutinesApi` +- [x] Beta version release! + +## 7.15.11 (November, 19, 2025) +* [DIA-6165](https://sourcepoint.atlassian.net/browse/DIA-6165) [Fire TV] Add a `mutex` to `removeKeysStartingWith` too avoid potential crashes [#883](https://github.com/SourcePointUSA/android-cmp-app/pull/883) + +## 7.15.10 (November, 07, 2025) +* [DIA-6160](https://sourcepoint.atlassian.net/browse/DIA-6160) Improve Android's Talk Back experience [#882](https://github.com/SourcePointUSA/android-cmp-app/pull/882) + ## 7.15.10-beta.1 (November, 04, 2025) * [DIA-6160](https://sourcepoint.atlassian.net/browse/DIA-6160) Improve Android's Talk Back experience [#882](https://github.com/SourcePointUSA/android-cmp-app/pull/882) diff --git a/README.md b/README.md index fd11f96bb..5b300c207 100644 --- a/README.md +++ b/README.md @@ -51,7 +51,7 @@ To use `cmplibrary` in your app, include `com.sourcepoint.cmplibrary:cmplibrary: ``` ... dependencies { - implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.15.10-beta.1-beta.2-beta.2-beta.1' + implementation 'com.sourcepoint.cmplibrary:cmplibrary:7.15.13-beta-1-beta-1-beta.1-beta.2-beta.2-beta.1' } ``` diff --git a/cmplibrary/build.gradle.kts b/cmplibrary/build.gradle.kts index 52ec4bdae..40a017de4 100644 --- a/cmplibrary/build.gradle.kts +++ b/cmplibrary/build.gradle.kts @@ -54,7 +54,7 @@ android { } dependencies { - implementation("com.sourcepoint:core:0.1.16") + implementation("com.sourcepoint:core:0.1.17") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1") implementation("com.squareup.okhttp3:okhttp:4.12.0") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3") diff --git a/cmplibrary/gradle.properties b/cmplibrary/gradle.properties index 96d6b2c96..300a4c9f1 100644 --- a/cmplibrary/gradle.properties +++ b/cmplibrary/gradle.properties @@ -1 +1 @@ -VERSION_NAME = 7.15.13 +VERSION_NAME = 7.15.14 diff --git a/cmplibrary/release_note.txt b/cmplibrary/release_note.txt index 8870331d9..1b87b2df0 100644 --- a/cmplibrary/release_note.txt +++ b/cmplibrary/release_note.txt @@ -1 +1 @@ -* [DIA-6317](https://sourcepoint.atlassian.net/browse/DIA-6317) +* [DIA-6442](https://sourcepoint.atlassian.net/browse/DIA-6442) Fixed an issue that prevented the SDK from correctly reporting a user's message status. diff --git a/cmplibrary/src/test/java/com/sourcepoint/cmplibrary/network/MessageMetadataTest.kt b/cmplibrary/src/test/java/com/sourcepoint/cmplibrary/network/MessageMetadataTest.kt new file mode 100644 index 000000000..09b29e5d4 --- /dev/null +++ b/cmplibrary/src/test/java/com/sourcepoint/cmplibrary/network/MessageMetadataTest.kt @@ -0,0 +1,26 @@ +package com.sourcepoint.cmplibrary.network + +import com.sourcepoint.mobile_core.network.json +import com.sourcepoint.mobile_core.network.responses.MessagesResponse +import kotlinx.serialization.decodeFromString +import org.junit.Assert.assertEquals +import org.junit.Test + +class MessageMetadataTest { + + @Test + fun `message metadata maps the prtnUUID response field`() { + val metadata = json.decodeFromString( + """ + { + "categoryId": 1, + "subCategoryId": 5, + "messageId": 1429939, + "prtnUUID": "partition-uuid" + } + """.trimIndent() + ) + + assertEquals("partition-uuid", metadata.messagePartitionUUID) + } +} diff --git a/integration_tests/build.gradle.kts b/integration_tests/build.gradle.kts index 81b1d078e..08d22a549 100644 --- a/integration_tests/build.gradle.kts +++ b/integration_tests/build.gradle.kts @@ -36,7 +36,7 @@ android { dependencies { implementation(project(":cmplibrary")) - implementation("com.sourcepoint:core:0.1.8") + implementation("com.sourcepoint:core:0.1.17") implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1") implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3") }