Skip to content

Support iOS BeforeSend and OnCrashedLastRun #2102

@mattjohnsonpint

Description

@mattjohnsonpint

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

Metadata

Metadata

Assignees

Labels

No fields configured for issues without a type.

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions