Skip to content

Commit d69dd5e

Browse files
Merge pull request #886 from SourcePointUSA/update_mobile_core
update mobile-core
2 parents 0fbc39c + db84981 commit d69dd5e

6 files changed

Lines changed: 12 additions & 10 deletions

File tree

cmplibrary/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ android {
5454
}
5555

5656
dependencies {
57-
implementation("com.sourcepoint:core:0.1.14")
57+
implementation("com.sourcepoint:core:0.1.16")
5858
implementation("org.jetbrains.kotlinx:kotlinx-datetime:0.6.1")
5959
implementation("com.squareup.okhttp3:okhttp:4.12.0")
6060
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:1.7.3")

cmplibrary/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
VERSION_NAME = 7.15.12-beta-1
1+
VERSION_NAME = 7.15.13

cmplibrary/release_note.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
* [DIA-6242](https://sourcepoint.atlassian.net/browse/DIA-6242) [Android TV] Implement experimental `InternalCoroutinesApi`
2-
- [x] Beta version release!
1+
* [DIA-6317](https://sourcepoint.atlassian.net/browse/DIA-6317)

integration_tests/src/androidTest/java/com/sourcepoint/cmplibrary/SPConsentLibCoreTest.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@ class SPConsentLibCoreTest {
121121
fun noMessageIsShownIfTheresDataFromSDKWithoutMobileCore() = runBlocking {
122122
// NOTE: If this test fails, chances are the SDK (more specifically the mobile-core's Coordinator)
123123
// is resetting its state because some meta-data changed, like `usnat.applicableSections` or `legislation.vendorListId`
124+
// OR the consent expired in the server (i.e. longer than 1 year) and a new uuid needs to be saved (by accepting all with
125+
// that auth id).
124126
val client = spClient
125127
loadLegacySharedPrefs(preferences)
126128
getConsentLib(

integration_tests/src/androidTest/java/com/sourcepoint/cmplibrary/legacy/LegacyStateTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class LegacyStateTest {
4343
consents.apply {
4444
applies.assertTrue()
4545
uuid.assertEquals("gdprUUID")
46-
dateCreated.assertEquals(Instant.parse("2025-03-29T13:45:32.988Z"))
46+
dateCreated.assertEquals(Instant.parse("2026-04-07T17:00:24.263Z"))
4747
consentStatus.apply {
4848
consentedAll!!.assertTrue()
4949
}
@@ -63,7 +63,7 @@ class LegacyStateTest {
6363
consents.apply {
6464
applies.assertTrue()
6565
uuid.assertEquals("ccpaUUID")
66-
dateCreated.assertEquals(Instant.parse("2025-03-29T13:45:34.594Z"))
66+
dateCreated.assertEquals(Instant.parse("2026-04-07T17:00:24.263Z"))
6767
status.assertEquals(CCPAConsent.CCPAConsentStatus.ConsentedAll)
6868
gppData.isNotEmpty().assertTrue()
6969
webConsentPayload.isNullOrEmpty().assertFalse()
@@ -80,7 +80,7 @@ class LegacyStateTest {
8080
consents.apply {
8181
applies.assertTrue()
8282
uuid.assertEquals("usNatUUID")
83-
dateCreated.assertEquals(Instant.parse("2025-03-29T13:47:05.359Z"))
83+
dateCreated.assertEquals(Instant.parse("2026-04-07T17:00:24.263Z"))
8484
gppData.isNotEmpty().assertTrue()
8585
webConsentPayload.isNullOrEmpty().assertFalse()
8686
consentStatus.apply {

integration_tests/src/androidTest/java/com/sourcepoint/cmplibrary/legacy/SharedPrefsImporter.kt

Lines changed: 4 additions & 3 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)