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:
parent
b6ff51b410
commit
33441d9d40
2 changed files with 2 additions and 2 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue