For my Flutter Android app, error title and stacktrace of some of the error reports are not readable as the following. Especially non fatal errors that are automatically reported.
In contrast, the stacktrace of the error reports that are manually reported using FirebaseCrashlytics.instance.recordFlutterError
method and crash reports, are readable.
Here is the content of my proguard-rules.pro file.
## Flutter wrapper
-keep class io.flutter.app.** { *; }
-keep class io.flutter.plugin.** { *; }
-keep class io.flutter.util.** { *; }
-keep class io.flutter.view.** { *; }
-keep class io.flutter.** { *; }
-keep class io.flutter.plugins.** { *; }
-keep class com.google.firebase.** { *; }
-dontwarn io.flutter.embedding.**
-ignorewarnings
-keep class io.grpc.** { *; }
In my case, when I remove this line extra-gen-snapshot-options=--obfuscate
from this file android/gradle.properties
, the problem is solved and the new errors reported to crashlytics become deobfuscated and readable.