|
10 | 10 |
|
11 | 11 | ### Features
|
12 | 12 |
|
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 | + |
16 | 39 | - Re-export `ErrorEvent` and `TransactionEvent` types ([#4859](https://github.com/getsentry/sentry-react-native/pull/4859))
|
17 | 40 |
|
18 | 41 | ### Fixes
|
19 | 42 |
|
20 | 43 | - crashedLastRun now returns the correct value ([#4829](https://github.com/getsentry/sentry-react-native/pull/4829))
|
21 | 44 | - Use engine-specific promise rejection tracking ([#4826](https://github.com/getsentry/sentry-react-native/pull/4826))
|
22 | 45 | - Fixes Feedback Widget accessibility issue on iOS ([#4739](https://github.com/getsentry/sentry-react-native/pull/4739))
|
| 46 | +- Measuring TTID or TTFD could cause a crash when `parentSpanId` was removed ([#4881](https://github.com/getsentry/sentry-react-native/pull/4881)) |
23 | 47 | - Report slow and frozen frames as app start span data ([#4865](https://github.com/getsentry/sentry-react-native/pull/4865))
|
24 | 48 |
|
25 | 49 | ### Dependencies
|
26 | 50 |
|
27 | 51 | - Bump Bundler Plugins from v3.4.0 to v3.5.0 ([#4850](https://github.com/getsentry/sentry-react-native/pull/4850))
|
28 | 52 | - [changelog](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/main/CHANGELOG.md#350)
|
29 | 53 | - [diff](https://github.com/getsentry/sentry-javascript-bundler-plugins/compare/3.4.0...3.5.0)
|
30 |
| -- Bump Cocoa SDK from v8.50.2 to v8.51.1 ([#4839](https://github.com/getsentry/sentry-react-native/pull/4839)) |
31 |
| - - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8511) |
32 |
| - - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.50.2...8.51.1) |
| 54 | +- Bump Cocoa SDK from v8.50.2 to v8.52.0 ([#4839](https://github.com/getsentry/sentry-react-native/pull/4839), [#4887](https://github.com/getsentry/sentry-react-native/pull/4887)) |
| 55 | + - [changelog](https://github.com/getsentry/sentry-cocoa/blob/main/CHANGELOG.md#8520) |
| 56 | + - [diff](https://github.com/getsentry/sentry-cocoa/compare/8.50.2...8.52.0) |
33 | 57 | - Bump CLI from v2.45.0 to v2.46.0 ([#4866](https://github.com/getsentry/sentry-react-native/pull/4866))
|
34 | 58 | - [changelog](https://github.com/getsentry/sentry-cli/blob/master/CHANGELOG.md#2460)
|
35 | 59 | - [diff](https://github.com/getsentry/sentry-cli/compare/2.45.0...2.46.0)
|
|
0 commit comments