Fix: use the right BuildTimeConfig field for the SDK DSN

We were using `SERVICES_SENTRY_SDK_DSN`, but the enterprise template uses `SERVICES_SENTRY_DSN_RUST`
This commit is contained in:
Jorge Martín 2025-12-04 16:35:49 +01:00 committed by Jorge Martin Espinosa
parent b6ff51b410
commit 33441d9d40
2 changed files with 2 additions and 2 deletions

View file

@ -35,7 +35,7 @@ android {
buildConfigFieldStr(
name = "SDK_SENTRY_DSN",
value = if (isEnterpriseBuild) {
BuildTimeConfig.SERVICES_SENTRY_SDK_DSN
BuildTimeConfig.SERVICES_SENTRY_DSN_RUST
} else {
System.getenv("ELEMENT_SDK_SENTRY_DSN")
?: readLocalProperty("services.analyticsproviders.sdk.sentry.dsn")