mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-04 01:19:33 +00:00
Enable Sentry in the SDK: add SDK Sentry DSN value
This is provided to the SDK in `PlatformInitializer`.
This commit is contained in:
committed by
Jorge Martin Espinosa
parent
b20ccf8b63
commit
883397e9dc
@@ -32,6 +32,16 @@ android {
|
||||
}
|
||||
?: ""
|
||||
)
|
||||
buildConfigFieldStr(
|
||||
name = "SDK_SENTRY_DSN",
|
||||
value = if (isEnterpriseBuild) {
|
||||
BuildTimeConfig.SERVICES_SENTRY_SDK_DSN
|
||||
} else {
|
||||
System.getenv("ELEMENT_SDK_SENTRY_DSN")
|
||||
?: readLocalProperty("services.analyticsproviders.sdk.sentry.dsn")
|
||||
}
|
||||
?: ""
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user