From 8fc2b39e12c247b16231f7421b8b9dcf863e24de Mon Sep 17 00:00:00 2001 From: Guillaume Jacquart Date: Thu, 12 Jan 2023 07:45:52 +0000 Subject: 855: setup Sentry telemetry. --- .../java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/src/main/java/foundation') 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() -- cgit v1.2.1