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
chore(android): Update feedback docs to use new Sentry.feedback() API (#17631)
Switch all Android user feedback documentation from the old
`showUserFeedbackDialog`/`captureFeedback` APIs to the new
`Sentry.feedback().show()` and `Sentry.feedback().capture()` entry
points. Drop the `SentryUserFeedbackButton` widget section and rename
`SentryUserFeedbackDialog` references to `SentryUserFeedbackForm`.
**New API examples**
All code examples now use `Sentry.feedback()` as the entry point —
`show()` for displaying the built-in form and `capture()` for submitting
feedback from custom UI.
**Builder-based custom form**
Added a "Custom Form" subsection showing
`SentryUserFeedbackForm.Builder` for full control over theme, associated
event, and per-form options.
**Per-form shake-to-show**
Added documentation for enabling shake detection on individual form
instances via `Builder.configurator { it.isUseShakeGesture = true }`, as
an alternative to the global shake setting.
Depends on getsentry/sentry-java#5353 and getsentry/sentry-java#5366.
Closesgetsentry/sentry-java#5306
---------
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: docs/platforms/android/user-feedback/configuration/index.mdx
+53-93Lines changed: 53 additions & 93 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,10 +4,9 @@ sidebar_order: 6900
4
4
description: "Learn about general User Feedback configuration fields."
5
5
---
6
6
7
-
## User Feedback Widget
7
+
## User Feedback Form
8
8
9
-
The User Feedback Widget offers many customization options, and if the available options are insufficient, you can [use your own UI](#bring-your-own-widget).
10
-
The widget is a custom button that opens the form, a custom AlertDialog that allows users to submit feedback.
9
+
The User Feedback form offers many customization options, and if the available options are insufficient, you can [use your own UI](#bring-your-own-form).
11
10
12
11
### Hooks
13
12
@@ -28,14 +27,6 @@ There are hooks available so you can react when the user opens or closes the for
The widget is a custom button that opens the feedback form. As such, you can treat it like any View, customizing it through its XML attributes or programmatically.
0 commit comments