-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Comments
There is no way to know if the app has exited cleanly. Much better to clear breadcrumbs after startup. |
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. |
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.
The text was updated successfully, but these errors were encountered: