aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHarsh Shandilya <me@msfjarvis.dev>2022-02-20 18:58:35 +0530
committerHarsh Shandilya <me@msfjarvis.dev>2022-02-20 19:01:19 +0530
commit3d0006d610c89f601fef7fa64e1794cd76b47006 (patch)
tree5860930c753dce064abfe71f78efa33029b89fb7 /app
parentf6dd7e338f9e9a58fd7ae641f0aa95f976ed2b6e (diff)
Introduce Sentry for error reporting (#1737)
Diffstat (limited to 'app')
-rw-r--r--app/build.gradle.kts2
-rw-r--r--app/src/nonFree/AndroidManifest.xml11
2 files changed, 13 insertions, 0 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index df8b281b..ebf9a98c 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -10,6 +10,7 @@ plugins {
id("com.github.android-password-store.kotlin-android")
id("com.github.android-password-store.kotlin-kapt")
id("com.github.android-password-store.versioning-plugin")
+ id("com.github.android-password-store.sentry")
id("dagger.hilt.android.plugin")
}
@@ -106,6 +107,7 @@ dependencies {
debugImplementation(libs.thirdparty.leakcanary)
add("nonFreeImplementation", libs.thirdparty.nonfree.googlePlayAuthApiPhone)
+ add("nonFreeImplementation", libs.thirdparty.nonfree.sentry)
androidTestImplementation(libs.bundles.testDependencies)
androidTestImplementation(libs.bundles.androidTestDependencies)
diff --git a/app/src/nonFree/AndroidManifest.xml b/app/src/nonFree/AndroidManifest.xml
new file mode 100644
index 00000000..2f8d2746
--- /dev/null
+++ b/app/src/nonFree/AndroidManifest.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="utf-8"?><!--
+ ~ Copyright © 2014-2021 The Android Password Store Authors. All Rights Reserved.
+ ~ SPDX-License-Identifier: GPL-3.0-only
+ -->
+
+<manifest xmlns:android="http://schemas.android.com/apk/res/android">
+ <application>
+ <meta-data android:name="io.sentry.dsn" android:value="${sentryDsn}" />
+ <meta-data android:name="io.sentry.traces.sample-rate" android:value="0.0" />
+ </application>
+</manifest>