From a475fcf4f05092fe6487a7c6bf399502f9462f16 Mon Sep 17 00:00:00 2001 From: nilsreichardt Date: Wed, 13 Sep 2023 17:52:30 +0200 Subject: [PATCH] Remove "extra-gen-snapshot-options=--obfuscate" from `gradle.properties` to get readable stack traces --- app/android/app/build.gradle | 7 ++++--- app/android/gradle.properties | 1 - 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/android/app/build.gradle b/app/android/app/build.gradle index bd6fa03ef..567c7659a 100644 --- a/app/android/app/build.gradle +++ b/app/android/app/build.gradle @@ -12,7 +12,7 @@ if (flutterRoot == null) { } apply plugin: 'com.android.application' -apply plugin: 'com.google.firebase.crashlytics' +apply plugin: 'com.google.gms.google-services' apply plugin: 'kotlin-android' apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle" @@ -120,5 +120,6 @@ dependencies { androidTestImplementation 'androidx.test:runner:1.2.0' androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0' } -apply plugin: 'com.google.gms.google-services' -apply plugin: 'com.google.firebase.firebase-perf' \ No newline at end of file + +apply plugin: 'com.google.firebase.firebase-perf' +apply plugin: 'com.google.firebase.crashlytics' diff --git a/app/android/gradle.properties b/app/android/gradle.properties index 5e697e36d..e3355b4e4 100644 --- a/app/android/gradle.properties +++ b/app/android/gradle.properties @@ -1,6 +1,5 @@ android.enableJetifier=true android.useAndroidX=true -extra-gen-snapshot-options=--obfuscate android.enableR8=true # Workaround for 'Unable to make field private final java.lang.String