diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle | 5 | ||||
-rw-r--r-- | app/src/main/AndroidManifest.xml | 2 | ||||
-rw-r--r-- | app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt | 4 |
3 files changed, 8 insertions, 3 deletions
diff --git a/app/build.gradle b/app/build.gradle index 12d1159..7f048d2 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -39,6 +39,7 @@ android { ] resValue("string", "mapbox_key", MAPBOX_KEY) + buildConfigField("String", "SENTRY_DSN", "\"$SENTRY_DSN\"") } signingConfigs { @@ -150,7 +151,9 @@ dependencies { Libs.Retrofit.scalars, Libs.MapBox.sdk, - Libs.mpAndroidCharts + Libs.mpAndroidCharts, + + Libs.telemetry ) debugImplementation 'com.squareup.leakcanary:leakcanary-android:2.9.1' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3bcd764..c155aa5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="utf-8"?> <!-- - Copyright (C) 2022 ECORP + Copyright (C) 2022 ECORP, 2022 MURENA SAS This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by diff --git a/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt b/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt index 28e96e0..639fec2 100644 --- a/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt +++ b/app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt @@ -1,5 +1,5 @@ /* - * Copyright (C) 2021 E FOUNDATION + * Copyright (C) 2021 E FOUNDATION, 2022 - 2023 MURENA SAS * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -19,6 +19,7 @@ package foundation.e.privacycentralapp import android.app.Application import com.mapbox.mapboxsdk.Mapbox +import foundation.e.lib.telemetry.Telemetry class PrivacyCentralApplication : Application() { @@ -27,6 +28,7 @@ class PrivacyCentralApplication : Application() { override fun onCreate() { super.onCreate() + Telemetry.init(BuildConfig.SENTRY_DSN, this) Mapbox.getTelemetry()?.setUserTelemetryRequestState(false) dependencyContainer.initBackgroundSingletons() |