android icon indicating copy to clipboard operation
android copied to clipboard

Collect more information on crash (thread dump and view hierarchy)

Open TimoPtr opened this issue 2 months ago • 2 comments

Summary

We have few ANRs with stack that is not very useful in Sentry. This PR adds two new flags about collecting threadDump and view hierarchy to help debug.

TimoPtr avatar Dec 08 '25 10:12 TimoPtr

Why do you need view hierarchy info?

This led me to check the privacy policy which doesn't mention crash statistics or processors at all. I think that should be added + users should be explicitly informed we're changing how much info is collected.

jpelgrom avatar Dec 08 '25 20:12 jpelgrom

Why do you need view hierarchy info?

This led me to check the privacy policy which doesn't mention crash statistics or processors at all. I think that should be added + users should be explicitly informed we're changing how much info is collected.

I do have crashes that are only native (C/C++) side, which leads to stacktrace not being very useful. I would like to know on which screen the user is when it crashes.

But fair point about disclosure. I'm going to put on hold this PR until someone with more legal knowledge look at the privacy policy again.

TimoPtr avatar Dec 09 '25 08:12 TimoPtr