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

Retain breadcrumbs even if Android kill app process #547

Open
piotrek-chmielowski opened this issue Jan 17, 2018 · 4 comments
Open

Retain breadcrumbs even if Android kill app process #547

piotrek-chmielowski opened this issue Jan 17, 2018 · 4 comments
Labels
enhancement New feature or request Platform: Android

Comments

@piotrek-chmielowski
Copy link

I have a following scenario:

  1. User uses my app
  2. User clicks home button so the app goes foreground
  3. Android kills app's process in order to free memory
  4. User opens the app again, Android restores its state
  5. Crash happens

In this scenario I have full stack trace and error info on Sentry, however I do not know what happened before app was killed and reopened because I have only breadcrumbs from the beginning of current app process.

Is it possible to force breadcrumbs to be retained during the process death?

@bretthoerner
Copy link

Good idea, I honestly never considered it. We should probably attempt to store all context information on Android.

@romtsn
Copy link
Member

romtsn commented Mar 16, 2023

should be pretty straightforward to implement, once ANRv2 lands

@dharmita1990
Copy link

Any update on this?

@markushi
Copy link
Member

markushi commented May 8, 2024

Ideally we can just restore the breadcrumbs on app-start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Platform: Android
Projects
Status: Backlog
Development

No branches or pull requests

7 participants