sentry-cocoa
sentry-cocoa copied to clipboard
Add screenshot to User Feedback
Problem Statement
### Blocked by
- [ ] https://github.com/getsentry/sentry/issues/63749
- [ ] https://github.com/getsentry/sentry-cocoa/issues/3007
Would be great to be able to add a screenshot to the User Feedback using the SDK / API. See this epic
Solution Brainstorm
Add UIImage screenshot param to the UserFeedback model.
The Cocoa SDK doesn't offer a UI for sending user feedback. Instead, it has a method SentrySDK.captureUserfeedback. It seems like the user feedback pulls the screenshot as an attachment from the correlated event. When https://github.com/getsentry/sentry/issues/63749 is complete, we would need https://github.com/getsentry/sentry-cocoa/issues/3007 to make this happen. I agree it makes sense to add this feature, but I can't give you an ETA.