Skip to content

RN: Add feedback widget documentation #12503

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 40 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
7d2797d
Updates capture feedback sample
antonis Nov 27, 2024
57a0a2b
Merge branch 'master' into antonis/react-native-capture-feedback
antonis Dec 16, 2024
c6da9a9
Update platform-includes/user-feedback/sdk-api-example/react-native.mdx
antonis Dec 17, 2024
1f6763b
Update platform-includes/user-feedback/sdk-api-example/react-native.mdx
antonis Dec 17, 2024
8d3f80a
Merge branch 'antonis/react-native-capture-feedback' of https://githu…
antonis Dec 17, 2024
b787285
Merge branch 'master' into antonis/react-native-capture-feedback
antonis Dec 17, 2024
a44510d
Use the simpler text attachment
antonis Dec 17, 2024
aacebf8
Merge branch 'master' into antonis/react-native-capture-feedback
antonis Jan 2, 2025
7e03e52
Merge branch 'master' into antonis/react-native-capture-feedback
antonis Jan 16, 2025
683b40c
Merge branch 'master' into antonis/react-native-capture-feedback
antonis Jan 29, 2025
4e3cfd8
Adds react native widget customisation options
antonis Jan 29, 2025
0fbbb5f
Fix checks
antonis Jan 29, 2025
c8e8039
Adds notes
antonis Jan 29, 2025
2b7f1ef
Fix formatting
antonis Jan 29, 2025
8a88192
Add screenshot handling example
antonis Jan 29, 2025
5f301c0
Remove modal from configurable styles
antonis Jan 31, 2025
0050f43
Merge branch 'master' into antonis/react-native-capture-feedback
antonis Feb 13, 2025
2abe455
Merge branch 'antonis/react-native-capture-feedback' into antonis/rea…
antonis Feb 13, 2025
4f554d3
Document the imagePicker integration
antonis Feb 13, 2025
4b9cbfc
Merge branch 'antonis/react-native-feedback-widget' of https://github…
antonis Feb 13, 2025
d1cb945
Add showFeedbackForm code snippet
antonis Feb 13, 2025
c24ace5
Move general heading one level up
antonis Feb 13, 2025
0166ff4
Dix integration example
antonis Feb 13, 2025
e92c890
Uppercase typo
antonis Feb 13, 2025
230832d
Move screenshot heading 2 levels up
antonis Feb 13, 2025
99e9ffe
Add text between code blocks
antonis Feb 13, 2025
763e7fd
Add pseudocode example for custom screenshots
antonis Feb 13, 2025
f450cba
Remove title and move all a level up
antonis Feb 13, 2025
160c151
Remove branding from doc
antonis Feb 13, 2025
3144a50
Remove alert highlight
antonis Feb 13, 2025
99d7772
Merge branch 'master' into antonis/react-native-feedback-widget
antonis Feb 18, 2025
639f64d
Rename form to widget
antonis Feb 18, 2025
440b0c6
Adds screenshot thumbnail styles
antonis Feb 18, 2025
5a51f0c
Align table
antonis Feb 18, 2025
48a7972
Updates onAddScreenshot callback
antonis Feb 18, 2025
e7eef72
Merge branch 'master' into antonis/react-native-feedback-widget
antonis Feb 20, 2025
8a84abf
Add Sentry.wrap notes
antonis Feb 20, 2025
6547863
Add Sentry.wrap code in the example
antonis Feb 21, 2025
3fd37b8
Merge branch 'master' into antonis/react-native-feedback-widget
antonis Feb 21, 2025
d3352e7
Add Sentry.wrap in the examples and link
antonis Feb 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ import * as Sentry from "@sentry/react-native";

Sentry.showFeedbackWidget();
```

Note that the root application component must be wrapped with `Sentry.wrap` for this to work.

## General

The following options can be configured for the integration in `feedbackIntegration({})` or passed in the `FeedbackWidget` component props:
Expand Down
2 changes: 1 addition & 1 deletion docs/platforms/react-native/user-feedback/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import * as Sentry from "@sentry/react-native";
Sentry.showFeedbackWidget();
```

Note that the `showFeedbackWidget` method depends on the React Native `Modal` implementation. It is supported fully in the legacy architecture. For the new architecture (Fabric renderer) it requires React Native `0.71` and up.
Note that the root application component must be wrapped with `Sentry.wrap` for the `showFeedbackWidget` method to work. The method depends on the React Native `Modal` implementation. It is supported fully in the legacy architecture. For the new architecture (Fabric renderer) it requires React Native `0.71` and up.

To configure the widget you can use the `Sentry.feedbackIntegration({})` or add it to your Sentry initialization.

Expand Down