Skip to content

Commit f963533

Browse files
chore(changelog): Summarize Feedback Drop 2 Updates (#4882)
Co-authored-by: Antonis Lilis <antonis.lilis@gmail.com>
1 parent b4d6bde commit f963533

File tree

1 file changed

+26
-3
lines changed

1 file changed

+26
-3
lines changed

CHANGELOG.md

Lines changed: 26 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,32 @@
1010

1111
### Features
1212

13-
- Adds the `FeedbackButton` component that shows the Feedback Widget ([#4378](https://github.com/getsentry/sentry-react-native/pull/4378))
14-
- Adds the `ScreenshotButton` component that takes a screenshot ([#4714](https://github.com/getsentry/sentry-react-native/issues/4714))
15-
- Add Feedback Widget theming ([#4677](https://github.com/getsentry/sentry-react-native/pull/4677))
13+
- User Feedback Widget Updates
14+
- `FeedbackButton` for easy access to the widget ([#4378](https://github.com/getsentry/sentry-react-native/pull/4378))
15+
- `ScreenshotButton` for capturing the application visuals ([#4714](https://github.com/getsentry/sentry-react-native/issues/4714))
16+
- Theming support to better align with the application styles ([#4677](https://github.com/getsentry/sentry-react-native/pull/4677))
17+
18+
```js
19+
Sentry.init({
20+
integrations: [
21+
Sentry.feedbackIntegration({
22+
enableTakeScreenshot: true, // Enables `ScreenshotButton`
23+
themeDark: {
24+
// Add dark theme styles here
25+
},
26+
themeLight: {
27+
// Add light theme styles here
28+
},
29+
}),
30+
],
31+
});
32+
33+
Sentry.showFeedbackButton();
34+
Sentry.hideFeedbackButton();
35+
```
36+
37+
To learn more visit [the documentation](https://docs.sentry.io/platforms/react-native/user-feedback).
38+
1639
- Re-export `ErrorEvent` and `TransactionEvent` types ([#4859](https://github.com/getsentry/sentry-react-native/pull/4859))
1740

1841
### Fixes

0 commit comments

Comments
 (0)