Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a way to upload flutter's obfuscation mappings to Firebase Crashlytics

My flutter app uses obfuscation for builds and creates symbols. The crash stacktraces are appearing obfuscated in the Firebase Crashlytics console. I know that we can use "flutter symbolize -i command" to deobfuscate a stacktrace, but is there a way to upload this symbols to Firebase Crashlytics console?

like image 592
Robert Apikyan Avatar asked Sep 11 '25 18:09

Robert Apikyan


1 Answers

Based on this document, if your Flutter project uses the --split-debug-info flag (and, optionally, the --obfuscate flag), you need to use the Firebase CLI (v.11.9.0+) to upload Android symbols.

From the root directory of your Flutter project, run the following command:

firebase crashlytics:symbols:upload --app=APP_ID PATH/TO/symbols

The PATH/TO/symbols directory is the same directory that you pass to the --split-debug-info flag when building the application.

Also, you can find the app ID in the firebase_options.dart file.

like image 191
Gerardo Avatar answered Sep 13 '25 11:09

Gerardo