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

Support iOS BeforeSend and OnCrashedLastRun #2102

Open
mattjohnsonpint opened this issue Dec 30, 2022 · 0 comments · May be fixed by #3958
Open

Support iOS BeforeSend and OnCrashedLastRun #2102

mattjohnsonpint opened this issue Dec 30, 2022 · 0 comments · May be fixed by #3958
Assignees
Labels
Feature New feature or request Platform: iOS

Comments

@mattjohnsonpint
Copy link
Contributor

mattjohnsonpint commented Dec 30, 2022

For iOS and MacCatalyst targets, the bundled Sentry Cocoa SDK has the BeforeSend and OnCrashLastRun options, both of which should probably be exposed via .NET. They require conversion between the .NET SDK's SentryEvent and the Cocoa SDK's SentryEvent objects.

For Android, we do this via serialization/deserialization. However the Cocoa SDK doesn't currently offer deserialization for SentryEvent, so a similar approach would not work.

The object graphs are quite large, so implementing the conversions manually will take time and a lot of tests.

This was originally planned for MAUI GA, but is deferred for now.

Related issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature or request Platform: iOS
Projects
Status: Done
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants