From fc0960180b2eeda8489ec870ae89be0ae2b02ca2 Mon Sep 17 00:00:00 2001 From: ningOTI Date: Tue, 13 Aug 2019 15:06:56 +0800 Subject: [PATCH] Implement error reporting through ACRA (#23) --- app/build.gradle | 3 +++ app/src/main/AndroidManifest.xml | 1 + .../palantir/PalantirApplication.java | 21 +++++++++++++++++++ app/src/main/res/values/strings.xml | 1 + 4 files changed, 26 insertions(+) create mode 100644 app/src/main/java/io/ningyuan/palantir/PalantirApplication.java diff --git a/app/build.gradle b/app/build.gradle index 29f45f2..4e4dc4b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -86,7 +86,10 @@ task fetchStrideSrc { } preBuild.dependsOn fetchStrideSrc + dependencies { + implementation 'ch.acra:acra-dialog:5.4.0' + implementation 'ch.acra:acra-mail:5.4.0' implementation 'com.android.support:appcompat-v7:27.1.1' implementation 'com.android.support:design:27.1.1' implementation 'com.google.ar.sceneform.ux:sceneform-ux:1.10.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 9249c2f..ee0cf51 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,6 +16,7 @@ ]]> + Sorry, Palantir has crashed. Please click \'OK\' to send a crash report. Click on the bottom-right button to import a 3D model