GraSim
GraSim

Reputation: 4210

Flutter: Will Crashlytics still work if I use Dart Code Obfuscation?

I'm using the FlutterFire Crashlytics plugin in my app. It is working fine on both Android and iOS (I've uploaded the .dysm for iOS etc) and I can see the error stacktraces in the Firebase console. I am ready to release the app and the Flutter documentation advises obfuscating the dart code using the following option:

flutter build apk --obfuscate --split-debug-info=/<project-name>/<directory>

My question is: Will Crashlytics still show me the stack traces in plain format or will obfuscating the code complicate/change this?

Upvotes: 7

Views: 2131

Answers (1)

ambiguous58
ambiguous58

Reputation: 1411

Crashlytics will still show you the stack traces even after obfuscation. Although for now, an extra couple of steps might be needed to view the stack traces.

Upvotes: 4

Related Questions