Skip to content
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

Add in_foreground app context for crashes #4563

Open
philipphofmann opened this issue Nov 22, 2024 · 0 comments
Open

Add in_foreground app context for crashes #4563

philipphofmann opened this issue Nov 22, 2024 · 0 comments

Comments

@philipphofmann
Copy link
Member

Description

The app context in_foreground doesn't work for crashes. SentryCrash already stores this information in the crash report:

writer->addBooleanElement(
writer, SentryCrashField_AppInFG, monitorContext->AppState.applicationIsInForeground);

The SentryCrashReportConverter only needs to add the in_foreground app context by reading the state from the SentryCrashField_AppInFG from the crash report.

Related to #4559.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Needs Discussion
Development

No branches or pull requests

1 participant