The Sentry native SDK added a new API to attach view hierarchies:
getsentry/sentry-native#1191
This should allow not only non-fatal errors from having the view hierarchy sent to Sentry but also crashes, assuming we're able to get the view hierarchy in those cases.
Relates to: