From 3d554eed66a22eed875c2789812349e152b8cd8d Mon Sep 17 00:00:00 2001 From: Sayantan Roychowdhury Date: Thu, 17 Aug 2023 17:21:01 +0530 Subject: [PATCH 1/2] set userId --- lib/src/main/java/foundation/e/lib/telemetry/Telemetry.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/src/main/java/foundation/e/lib/telemetry/Telemetry.kt b/lib/src/main/java/foundation/e/lib/telemetry/Telemetry.kt index 110fbf8..2b727d4 100644 --- a/lib/src/main/java/foundation/e/lib/telemetry/Telemetry.kt +++ b/lib/src/main/java/foundation/e/lib/telemetry/Telemetry.kt @@ -9,6 +9,7 @@ import io.sentry.Sentry import io.sentry.SentryLevel import io.sentry.android.core.SentryAndroid import io.sentry.android.timber.SentryTimberIntegration +import io.sentry.protocol.User object Telemetry { @@ -58,6 +59,9 @@ object Telemetry { } else { it.removeTag(Constants.TAG_E_VERSION) } + it.user = User().apply { + id = userSentryId + } } } catch (e: Exception) { e.printStackTrace() -- GitLab From 68df1b9972638b08da5352f4f9b26a5f49fd9b99 Mon Sep 17 00:00:00 2001 From: Sayantan Roychowdhury Date: Thu, 17 Aug 2023 17:21:18 +0530 Subject: [PATCH 2/2] update version --- lib/build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/build.gradle b/lib/build.gradle index f6423dc..f7381df 100644 --- a/lib/build.gradle +++ b/lib/build.gradle @@ -6,7 +6,7 @@ plugins { def versionMajor = 0 def versionMinor = 0 -def versionPatch = 10 +def versionPatch = 11 def releasePatch = "alpha" android { -- GitLab