getsentry / sentry-cocoa

The official Sentry SDK for iOS, tvOS, macOS, watchOS.
https://sentry.io/for/cocoa/
MIT License
808 stars 320 forks source link

User Feedback envelope #4272

Open armcknight opened 3 months ago

armcknight commented 3 months ago

Description

Package up the inputs from the form into the envelope format for transmission to the Sentry backend

armcknight commented 2 months ago

One thing to consider here is that we already have a method today to gather feedback: SentrySDK.captureUserFeedback We should keep that method for convenience and backwards compatibility.

However, SentryUserFeedback.eventId is currently a required property, which we want to move to becoming optional. That is public API, so changing it should be considered a major revision as anyone using it may encounter build breakages, if they are reading the property in Swift code, as it will become optional.