You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the current version, if you want to use the attachScreenshot and attachViewHierarchy properties while reporting user feedback, you can only do it via capture(error:) (I can change the level to info)
However, reporting user feedback via the capture(message:) method should be a better option.
I would like attachScreenshot and attachViewHierarchy to work for user feedback.
Solution Brainstorm
Or we could add an attribute, e.g. "alwaysCarryAttachments", to give the user the choice of whether to upload attachments or not.
Only very minor changes to SentryScreenshotIntegration and SentryViewHierarchyIntegration are required. Other platforms should be similar.
Are you willing to submit a PR?
Yes, but only for iOS and Android platforms.
The text was updated successfully, but these errors were encountered:
I think the easier solution would be to have a property in SentryEvent to indicate the need of capturing the screen, and then it would be possible to use SentrySDK.captureEvent
Thanks for opening this. We will discuss it and get back to you.
I think the easier solution would be to have a property in SentryEvent to indicate the need of capturing the screen, and then it would be possible to use SentrySDK.captureEvent
Thanks for opening this. We will discuss it and get back to you.
Yes, we can add the property to the SentryEvent object and it feels better to do so.
Problem Statement
In the current version, if you want to use the attachScreenshot and attachViewHierarchy properties while reporting user feedback, you can only do it via capture(error:) (I can change the level to info)
However, reporting user feedback via the capture(message:) method should be a better option.
I would like attachScreenshot and attachViewHierarchy to work for user feedback.
Solution Brainstorm
Or we could add an attribute, e.g. "alwaysCarryAttachments", to give the user the choice of whether to upload attachments or not.
Only very minor changes to
SentryScreenshotIntegration
andSentryViewHierarchyIntegration
are required. Other platforms should be similar.Are you willing to submit a PR?
Yes, but only for iOS and Android platforms.
The text was updated successfully, but these errors were encountered: