diff options
author | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-01-12 07:45:54 +0000 |
---|---|---|
committer | Guillaume Jacquart <guillaume.jacquart@hoodbrains.com> | 2023-01-12 07:45:54 +0000 |
commit | 147782f1677ca71e5da486afb90beff0e122183f (patch) | |
tree | 02261d62fe73fa07ba2ae9a413a075242c3379a6 /app/src/main/java/foundation | |
parent | 7cad75f498d1afbb69069b582bb75ebf7a8833aa (diff) | |
parent | 8fc2b39e12c247b16231f7421b8b9dcf863e24de (diff) |
Merge branch '855-sentry' into 'main'
855: setup Sentry telemetry.
See merge request e/os/advanced-privacy!112
Diffstat (limited to 'app/src/main/java/foundation')
-rw-r--r-- | app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt | 4 |
1 files changed, 3 insertions, 1 deletions
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() |