Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
}
```

Expand Down
2 changes: 1 addition & 1 deletion cmplibrary/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion cmplibrary/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION_NAME = 7.15.13
VERSION_NAME = 7.15.14
2 changes: 1 addition & 1 deletion cmplibrary/release_note.txt
Original file line number Diff line number Diff line change
@@ -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.
Original file line number Diff line number Diff line change
@@ -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<MessagesResponse.MessageMetaData>(
"""
{
"categoryId": 1,
"subCategoryId": 5,
"messageId": 1429939,
"prtnUUID": "partition-uuid"
}
""".trimIndent()
)

assertEquals("partition-uuid", metadata.messagePartitionUUID)
}
}
2 changes: 1 addition & 1 deletion integration_tests/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Loading