From 747e34309acc45961c1ed4906196cc69e81a19a0 Mon Sep 17 00:00:00 2001 From: yamilmedina Date: Mon, 16 Dec 2024 16:41:43 +0100 Subject: [PATCH] fix: harden countly sdk integration and bump to latest --- .../android/feature/analytics/AnonymousAnalyticsRecorderImpl.kt | 2 +- gradle/libs.versions.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/analytics-enabled/src/main/kotlin/com/wire/android/feature/analytics/AnonymousAnalyticsRecorderImpl.kt b/core/analytics-enabled/src/main/kotlin/com/wire/android/feature/analytics/AnonymousAnalyticsRecorderImpl.kt index 93a0af881e..6baadc5b29 100644 --- a/core/analytics-enabled/src/main/kotlin/com/wire/android/feature/analytics/AnonymousAnalyticsRecorderImpl.kt +++ b/core/analytics-enabled/src/main/kotlin/com/wire/android/feature/analytics/AnonymousAnalyticsRecorderImpl.kt @@ -86,7 +86,7 @@ class AnonymousAnalyticsRecorderImpl : AnonymousAnalyticsRecorder { override fun halt() = wrapCountlyRequest { isConfigured = false - Countly.sharedInstance().halt() + Countly.sharedInstance()?.consent()?.removeConsentAll() } override suspend fun setTrackingIdentifierWithMerge( diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 557c6558a9..6dbdf6c299 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -67,7 +67,7 @@ coil = "2.7.0" commonmark = "0.24.0" # Countly -countly = "24.4.0" +countly = "24.7.7" # RSS rss-parser = "6.0.7"