Replies: 1 comment 3 replies
-
No crashlytics cannot deobfuscate javascript stack traces. I do something similar with native java minimized code where google doesn't have the mappings. On macOS you can use pbcopy and pbpaste utilities to work with your clipboard in a small shell script. If you have your mappings local then you pbcopy in the shell script, send the trace through your deobfuscation utilities using your locally stored mappings, then pbpaste it back to the clipboard. Now you can put that trace into your IDE or an issue tracker or where ever you need it |
Beta Was this translation helpful? Give feedback.
-
I am working on a React Native app that uses Firebase Crashlytics for error reporting. My app is built with JavaScript (using Hermes), and I am attempting to deobfuscate JavaScript errors in the Crashlytics dashboard by uploading the source map generated during the release build process.
However, after trying multiple approaches found online, I’ve encountered the following challenges:
Source Map Upload: The official Firebase documentation mentions uploading mapping files for native apps (e.g., ProGuard mappings for Android or .dSYM files for iOS) but does not clearly describe a process for uploading JavaScript source maps in React Native.
React Native Compatibility: The firebase crashlytics:symbols:upload CLI command appears to be designed for native symbol files and results in errors when attempting to upload the JavaScript source map (e.g., Breakpad symbol generation failed).
Deobfuscation in Crashlytics: Despite generating the source map (e.g., index.android.bundle.map), I cannot find any documentation or steps in Firebase Crashlytics to support its upload or ensure deobfuscated stack traces in the dashboard.
Request for Clarification:
Does Firebase Crashlytics currently support uploading JavaScript source maps for React Native apps?
If supported, what is the correct process for uploading the source map to enable deobfuscated stack traces in the Crashlytics dashboard?
If not supported, are there any future plans to include support for JavaScript source maps for React Native apps?
I would greatly appreciate your guidance on whether deobfuscation for React Native JavaScript errors is achievable in Firebase Crashlytics, and if so, how to implement it.
Thank you for your time and assistance!
Beta Was this translation helpful? Give feedback.
All reactions