Use secret Sentry DSN value (#4210)

* Use secret Sentry DSN value.

We realised our DSN entry has been shipped along with the code and it was being used in several forks as is, resulting in wrong bug reports coming into our Sentry dashboard and making it very hard to debug actual issues in the app.
This commit is contained in:
Jorge Martin Espinosa
2025-01-29 13:47:06 +01:00
committed by GitHub
parent 2150eaa504
commit c935783a78
11 changed files with 52 additions and 14 deletions

View File

@@ -5,20 +5,13 @@
* Please see LICENSE files in the repository root for full details.
*/
import java.util.Properties
import extension.readLocalProperty
plugins {
id("io.element.android-compose-library")
id("kotlin-parcelize")
}
fun readLocalProperty(name: String): String? = Properties().apply {
try {
load(rootProject.file("local.properties").reader())
} catch (ignored: java.io.IOException) {
}
}.getProperty(name)
android {
namespace = "io.element.android.features.location.api"