[firebase_crashlytics] Support for deobfuscation of Dart reports #5562
Replies: 28 comments 6 replies
-
The issue at flutter/flutter#30303 has been closed and moved here. Future collaboration on this issue will be done here. |
Beta Was this translation helpful? Give feedback.
-
Hello, I have created a web flutter app to do dart deobfuscation easily: It is inspired from the script of @rostopira |
Beta Was this translation helpful? Give feedback.
-
Any update? |
Beta Was this translation helpful? Give feedback.
-
@kikuchy yep, update: https://flutter.dev/docs/deployment/obfuscate |
Beta Was this translation helpful? Give feedback.
-
Oops, missed that issue is about crashlytics, not only obfuscation, should not be closed |
Beta Was this translation helpful? Give feedback.
-
Hello, Ideally the complete solution should be offered with firebase_app_distribution from fastlane. |
Beta Was this translation helpful? Give feedback.
-
Best solution is to be able to upload the symbols per version in firebase and crashlitics to be able to translate the exception. |
Beta Was this translation helpful? Give feedback.
-
Any solutions? |
Beta Was this translation helpful? Give feedback.
-
Any update? |
Beta Was this translation helpful? Give feedback.
-
@talent-apps it's not, you still can manually deobfuscate crash reports |
Beta Was this translation helpful? Give feedback.
-
@nt4f04uNd the first step would be to include this information in the README and document how to do this manually. I've tried deobfuscating my crash reports manually but it never worked for me. |
Beta Was this translation helpful? Give feedback.
-
Any updates? |
Beta Was this translation helpful? Give feedback.
-
Any update ? |
Beta Was this translation helpful? Give feedback.
-
@Ehesp can Invertase take a look at this? |
Beta Was this translation helpful? Give feedback.
-
Hey folks, I don't think this is something FlutterFire itself can solve since obfuscation and de-obfuscation are not something a Flutter plugin would have any control over (?) - but this maybe something we can document on how to do it - though I'm not sure what more we can add that the official flutter obfuscation docs don't already cover? (please let me know). The FlutterFire Crashlytics plugin still reports Dart stack traces to Firebase, whether its obfuscated or not - so once they're reported it should be a case of extracting it from the Firebase Console and de-obfuscating it via the existing Flutter tooling. Ideally not having to do this yourself and having the stack traces automatically get symbolized on the Firebase Console would be nice - but this is something we as plugin maintainers currently don't have any control over unfortunately. |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for your answer. If I understand, it's a firebase feature? |
Beta Was this translation helpful? Give feedback.
-
Indeed this is a feature that should be implemented by firebase itself. @Salakar do you know where we can log that? Or do you know if Google/Firebase is already working on this? |
Beta Was this translation helpful? Give feedback.
-
I created a firebase support ticket. And this was the response: Just to set some expectations, Flutter is considered as one of the external frameworks and not covered by Firebase support but I'd still love to point you to the right direction. Per checking, we have an existing feature request for native Flutter crash reporting and I would love to add this case as an upvote on having this feature. However, I can't share any details or timelines on this at the moment. For now, please keep an eye on our release notes and official blog posts for any new features, bug fixes or improvements. Looking at this answer I am not very hopeful this will work in the coming months, or even years. @Salakar do you have more information on this? |
Beta Was this translation helpful? Give feedback.
-
any update? |
Beta Was this translation helpful? Give feedback.
-
update on my side: my observation is that Crashlytic deobfuscate stacktrace for fatal error correctly, but not for Exception. We need both to be deobfuscated. |
Beta Was this translation helpful? Give feedback.
-
any update? |
Beta Was this translation helpful? Give feedback.
-
Now that flutter has "graduated" to become a first-class and fully supported part of the firebase offering. When will deobfuscated stack traces be added? I don't see anything in the documentation, @Salakar do you have any idea when this will be implemented? |
Beta Was this translation helpful? Give feedback.
-
Any update on this? Related question on SO https://stackoverflow.com/questions/72725168/how-to-deobfuscate-java-stacktrace-in-flutter-app-with-firebase-crashlytics |
Beta Was this translation helpful? Give feedback.
-
it works without big issues for me, as soon as you have the symbols file you can just copy-paste to some file the stack you have under Stack trace => TXT and this command deobfuscates the stack:
|
Beta Was this translation helpful? Give feedback.
-
I totally agree. Would be a time saving feature. |
Beta Was this translation helpful? Give feedback.
-
Isn't that the solution?(only for android): |
Beta Was this translation helpful? Give feedback.
-
I can't even find any info on how to find dart obfuscation maps to deobfuscate reports manually
Beta Was this translation helpful? Give feedback.
All reactions