You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add Sentry.crashedLastRunEventId() to return event id of last crashed run #2560
changed the title [-]Sentry.lastEventId() returns event id on relaunch after crash[/-][+]Placeholder for `Sentry.crashedLastRunEventId()`[/+]on Feb 22, 2023
changed the title [-]Placeholder for `Sentry.crashedLastRunEventId()`[/-][+]Add Sentry.crashedLastRunEventId() to return event id of last crashed run[/+]on Mar 1, 2023
Just adding a use case (we'd like to implement this in the sentry-dotnet Android Sample):
We would like to show a dialog to collect feedback from users when we know the application crashed. For example "We noticed there was a problem last time you ran the application. Do you want to tell us what happened and maybe we can help you out?"
Ideally feedback related to crashes would be associated with the Sentry event (these events contain a lot of context that users won't be able to articulate). So it would be great to have the Event ID available when OnCrashedLastRun returns true.
Activity
[-]Android[/-][+]Sentry.lastEventId() returns event id on relaunch after crash[/+][-]Sentry.lastEventId() returns event id on relaunch after crash[/-][+]Placeholder for `Sentry.crashedLastRunEventId()`[/+][-]Placeholder for `Sentry.crashedLastRunEventId()`[/-][+]Add Sentry.crashedLastRunEventId() to return event id of last crashed run[/+]jamescrosswell commentedon Mar 20, 2025
Just adding a use case (we'd like to implement this in the sentry-dotnet Android Sample):
We would like to show a dialog to collect feedback from users when we know the application crashed. For example "We noticed there was a problem last time you ran the application. Do you want to tell us what happened and maybe we can help you out?"
Ideally feedback related to crashes would be associated with the Sentry event (these events contain a lot of context that users won't be able to articulate). So it would be great to have the Event ID available when OnCrashedLastRun returns true.