Skip to content

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

Open
jamescrosswell wants to merge 6 commits into
masterfrom
ios-attachments-4061
Open

docs(dotnet): Document iOS attachment limitations for MAUI#17590
jamescrosswell wants to merge 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 <noreply@anthropic.com>
@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

Comment thread docs/platforms/dotnet/common/enriching-events/attachments/index.mdx Outdated
@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
Comment thread docs/platforms/dotnet/common/enriching-events/attachments/index.mdx Outdated
@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
Member

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 <noreply@anthropic.com>
@codeowner-assignment codeowner-assignment Bot requested a review from a team July 8, 2026 23:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document limitations of scope attachments on iOS

3 participants