Skip to content

Support iOS BeforeSend and OnCrashedLastRun #2102

Closed

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

Activity

  1. self-assigned this
    on Feb 3, 2025
  2. moved this to In Progress in GDXon Feb 14, 2025
  3. moved this from In Progress to Done in GDXon Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

FeaturePlatform: iOS

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions