-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show new app context for "app was in foreground/background" in event details #44251
Comments
Routing to @getsentry/team-mdx for triage, due by Thursday, February 9th at 11:26 am (sfo). ⏲️ |
From what I understood, I would actually say this value is independent of the state of the app. It's thread-specific and indicates if the current thread was active during the event. |
Routing to @getsentry/product-owners-issues for triage ⏲️ |
Looks like the related epic was completed 🥳 |
Mobile app crashes can happen when the app is in the foreground or in the background. However, we currently do not surface this detail to the developer.
Currently, we surface a stack trace value
was active
to developers (image above) but this can manifest differently depending on the framework:true
regardless of the app being in foreground or backgroundFor scenario 1,
was active
is not an accurate proxy for whether the app was in foreground/ background at crash time and this new valueapp.in_foreground
aims to address this problem. While for scenario 2,was active
can be a more accurate proxy.Surfacing
app.in_foreground
raises a scoping question: Do we want to surface this as a tag?It has already be made searchable in the Issue stream and we see value in being able to break metrics down by this value.
Additional notes:
Front-end task for exposing the new app context coming in Add new app context that tells if the app is in the background or foreground team-mobile#36
Related PR: Make
app.in_foreground
searchable #43964The text was updated successfully, but these errors were encountered: