Enable Sentry in the SDK: add SDK Sentry DSN value
This is provided to the SDK in `PlatformInitializer`.
This commit is contained in:
parent
fbaedd017e
commit
53ab38d990
6 changed files with 16 additions and 1 deletions
|
|
@ -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")
|
||||
}
|
||||
?: ""
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue