How do I deobfuscate Crashlytics logs that look like this? #5314
Unanswered
davidvorona
asked this question in
Q&A
Replies: 1 comment 8 replies
-
First thought: hermes or no? The permutations possible on bundling the JS are nearly endless so it's hard to say exactly. The stack traces I got (or used to get - I'm using Hermes now!) were de-obfuscatable but I haven't looked in a while in my own project |
Beta Was this translation helpful? Give feedback.
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have a react-native app using a few modules in this library. The issue we're having is with Crashlytics: while it catches and reports crashes as expected, for some reason JS exceptions on Android are reported in a format that cannot be deobfuscated by commonly discussed means.
An example of a crash report:
The link above mentions that this is the "raw" text, and that running the "formatted" text through
stack-beautifier
with a source map of our code will generate a more readable stack trace. Frankly, I'm not sure what the person answering the SO question is referring to. I see no "formatted" version of this crash log in Crashlytics, and what I've pasted above certainly cannot be deobfuscated.On the other hand, JS exceptions reported from iOS devices do have a format that can be deobfuscated, and look like this:
Running the above log through
stack-beautifier
returns a very helpful trace of exactly where the crash happened in our app.So, what is up with JS exceptions on Android? I'm most confused as to why I don't see more questions about this particularly unhelpful error format online anywhere, it makes me think I'm missing something obvious. I would appreciate some advice on this problem, as we are finding crashes but can do nothing about them since the trace is entirely unhelpful.
Beta Was this translation helpful? Give feedback.
All reactions