-
-
Notifications
You must be signed in to change notification settings - Fork 213
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 onCrashedLastRun #735
Comments
Hi. |
@aritchie this could be added just for iOS and Android if that makes it easier, as it just binds to the native sdks. If you have a chance to peek at the code, any idea of the effort to add this? @vaind @bitsandfoxes did we get this in Unity to be a reference? |
@bruno-garcia I'm actually already working on this over at #3958 for iOS. It already exists in part on Android. |
Just bumped into this btw - which might be an interesting workaround if we don't have access to the file system. Although, I'm not sure what happens to performance if we try to store an envelope as a preference. |
Yeah, for example on iOS there's a bool function exposed so it's very simple to do: https://github.com/getsentry/sentry-unity/blob/0059c77876e3746d50998af5b9ca8c6adbff6f52/package-dev/Plugins/iOS/SentryNativeBridge.m#L49 |
Add a callback onCrashedLastRun to SentryOptions that is called by the SDK passing the event
when Sentry is initialized and the last program execution terminated with a crash.
PR in Cocoa: getsentry/sentry-cocoa#808
Docs in Cocoa: https://docs.sentry.io/platforms/apple/enriching-events/user-feedback/
The issue on Java: getsentry/sentry-java#1125
The text was updated successfully, but these errors were encountered: