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 a5c889ff40
commit 9e997a2fa6
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")