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

Persisted breadcrumbs should be cleared when app starts #10

Closed
timfish opened this issue Feb 24, 2018 · 2 comments
Closed

Persisted breadcrumbs should be cleared when app starts #10

timfish opened this issue Feb 24, 2018 · 2 comments

Comments

@timfish
Copy link
Collaborator

timfish commented Feb 24, 2018

Breadcrumbs are persisted to disk so that they are available on next run in case of native crash in main process.

Currently, all events posted to Sentry contain breadcrumbs from multiple previous app sessions.

@timfish
Copy link
Collaborator Author

timfish commented Feb 24, 2018

There is no way to know if the app has exited cleanly. Much better to clear breadcrumbs after startup.

@timfish timfish changed the title Persisted breadcrumbs should be cleared when app exits cleanly Persisted breadcrumbs should be cleared when app starts Feb 24, 2018
@skandaswamygit
Copy link

skandaswamygit commented Aug 19, 2022

it makes sense to clear the breadcrumbs from previous session, however, when there was a native crash, we upload the crash dump on next app launch. if breadcrumbs are cleared on startup all the time, then developers would lose all the breadcrumbs that happened at the time of crash. instead, they see breadcrumbs from current session from which the crash dump is going to be sent, which is not very useful for the developers who might want to try and reproduce the native crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants