summaryrefslogtreecommitdiff
path: root/app/src/main
diff options
context:
space:
mode:
authorGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-01-12 07:45:52 +0000
committerGuillaume Jacquart <guillaume.jacquart@hoodbrains.com>2023-01-12 07:45:52 +0000
commit8fc2b39e12c247b16231f7421b8b9dcf863e24de (patch)
tree02261d62fe73fa07ba2ae9a413a075242c3379a6 /app/src/main
parent7cad75f498d1afbb69069b582bb75ebf7a8833aa (diff)
855: setup Sentry telemetry.
Diffstat (limited to 'app/src/main')
-rw-r--r--app/src/main/AndroidManifest.xml2
-rw-r--r--app/src/main/java/foundation/e/privacycentralapp/PrivacyCentralApplication.kt4
2 files changed, 4 insertions, 2 deletions
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()