fix(deps): update dependency io.sentry:sentry-android to v8.35.0 and enable ANR profiling (#6331)

* fix(deps): update dependency io.sentry:sentry-android to v8.35.0

* Add profile sampling of ANRs

This *should* help debugging them.

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
renovate[bot]
2026-03-16 09:13:08 +00:00
committed by GitHub
parent 7cdf1a264b
commit f85fcf6a63
2 changed files with 2 additions and 1 deletions

View File

@@ -220,7 +220,7 @@ color_picker = "io.mhssn:colorpicker:1.0.0"
# Analytics
posthog = "com.posthog:posthog-android:3.37.0"
sentry = "io.sentry:sentry-android:8.34.1"
sentry = "io.sentry:sentry-android:8.35.0"
# main branch can be tested replacing the version with main-SNAPSHOT
matrix_analytics_events = "com.github.matrix-org:matrix-analytics-events:0.33.2"

View File

@@ -63,6 +63,7 @@ class SentryAnalyticsProvider(
options.tracesSampleRate = 1.0
options.isEnableUserInteractionTracing = true
options.environment = buildMeta.buildType.toSentryEnv()
options.anrProfilingSampleRate = 0.75
}
Timber.tag(analyticsTag.value).d("Sentry was initialized correctly")
}