From c6d9e1c0717f0315bd6d08df6c707e58da89b593 Mon Sep 17 00:00:00 2001 From: Robert Hahn <877263+Maschina@users.noreply.github.com> Date: Mon, 8 Dec 2025 23:57:35 +0100 Subject: [PATCH] Enhance user feedback example with optional fields Updated the user feedback example in the documentation to include optional fields for name, email, and attachments. --- docs/platforms/apple/common/user-feedback/index.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/platforms/apple/common/user-feedback/index.mdx b/docs/platforms/apple/common/user-feedback/index.mdx index 36e174893ffb17..1cb6e265754bae 100644 --- a/docs/platforms/apple/common/user-feedback/index.mdx +++ b/docs/platforms/apple/common/user-feedback/index.mdx @@ -173,9 +173,9 @@ The User Feedback API allows you to collect user feedback while using your own U ```swift SentrySDK.capture(feedback: .init( message: "I encountered a bug while using the app.", - name: "John Doe", - email: "john.doe@example.com", + name: "John Doe", // optional + email: "john.doe@example.com", // optional source: .custom, - screenshot: somePngImageData // optional + attachments: someSentryAttachmentData // optional, see SentryAttachment type )) ```