Skip to content

docs(dotnet): Document iOS attachment limitations for MAUI - #17590

Merged
Flash0ver merged 6 commits into
masterfrom
ios-attachments-4061
Jul 9, 2026
Merged

Flash0ver merged 6 commits into
masterfrom
ios-attachments-4061

Conversation

@jamescrosswell

@jamescrosswell jamescrosswell commented May 4, 2026 •

Copy link
Copy Markdown
Collaborator

DESCRIBE YOUR PR

Adds a warning callout to the .NET attachments documentation page noting that scope attachments are not included in native iOS crash events on MAUI. Native iOS crashes are handled by the underlying Cocoa SDK, which does not receive attachments from the managed .NET layer. SetBeforeSend is also not invoked for native iOS crashes, so that workaround doesn't apply either.

The callout is scoped to MAUI only via <PlatformSection supported={["dotnet.maui"]}> so it won't appear for other .NET guides.

Closes getsentry/sentry-dotnet#4061

IS YOUR CHANGE URGENT?

Help us prioritize incoming PRs by letting us know when the change needs to go live.

  • Urgent deadline (GA date, etc.):
  • Other deadline:
  • None: Not urgent, can wait up to 1 week+

PRE-MERGE CHECKLIST

Make sure you've checked the following before merging your changes:

  • Checked Vercel preview for correctness, including links
  • PR was reviewed and approved by any necessary SMEs (subject matter experts)
  • PR was reviewed and approved by a member of the Sentry docs team

Scope attachments are not included in native iOS crash events because
those are handled by the Cocoa SDK, which does not receive attachments
from the managed .NET layer. SetBeforeSend is similarly not invoked for
native iOS crashes.

Refs getsentry/sentry-dotnet#4061
Co-Authored-By: Claude <[email protected]>
@vercel

vercel Bot commented May 4, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sentry-docs Ready Ready Preview, Comment Jul 8, 2026 11:12pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
develop-docs Ignored Ignored Preview Jul 8, 2026 11:12pm

Request Review

@github-actions

Copy link
Copy Markdown
Contributor

This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed in 7 days if no further activity occurs.

If this PR is still relevant, please:

  • Push new commits, or
  • Leave a comment to keep it open

Thank you for your contribution!

@github-actions github-actions Bot added the Stale label Jun 19, 2026
@codeowner-assignment
codeowner-assignment Bot requested a review from a team July 8, 2026 20:57

@Flash0ver Flash0ver left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 question:

Native iOS crashes route through the Cocoa SDK for standalone .NET Apple
apps too, not just MAUI, so the attachment / SetBeforeSend limitation
applies there as well. Matches the scoping precedent in #18623.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
@codeowner-assignment
codeowner-assignment Bot requested a review from a team July 8, 2026 23:01
@Flash0ver
Flash0ver merged commit 14c5341 into master Jul 9, 2026
24 of 25 checks passed
@Flash0ver
Flash0ver deleted the ios-attachments-4061 branch July 9, 2026 12:40

This branch was successfully deployed

2 active (1 outdated) deployments
Preview – sentry-docs — f8dde7ea Deployed Jul 8, 2026 by vercel[bot]
Preview – develop-docs — 429eadf3 Deployed Jul 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document limitations of scope attachments on iOS

2 participants