-
-
Notifications
You must be signed in to change notification settings - Fork 344
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
[EPIC] Feedback Widget for React Native #4302
Comments
Disable movement/scroll (example in the video below) (allow only in overflow) Happens only on iOS Simulator.Screen.Recording.-.iPhone.16.-.2025-01-29.at.16.24.52.mp4 |
The two most popular libraries for image pickers in the RN ecosystem are https://www.npmjs.com/package/react-native-image-picker and https://www.npmjs.com/package/expo-image-picker. Instead of guiding users on how to use the image picker libraries and how to hook them into the Sentry Feedback Widget, we could introduce a simpler interface, in which the Sentry Feedback Widget accepts the library object and calls it's APIs. Example: React Native Image Picker import * as ImagePicker from 'react-native-image-picker';
Sentry.init({
integrations: [
Sentry.feedbackIntegration({
imagePicker: ImagePicker,
}),
],
}); Expo Image Picker import * as ImagePicker from 'expo-image-picker';
Sentry.init({
integrations: [
Sentry.feedbackIntegration({
imagePicker: ImagePicker,
}),
],
}); |
Note: We also need to check if (similar to iOS) the permissions needed for accessing photos create complications. |
This is not an issue for the RN SDK, because we don't access any of the native API, but the image picker libraries we integrate with do. |
Makes sense 👍 Probably we can add a note in the documentation as a reminder on this.
Thank you for reporting @krystofwoldrich 🙇 I'll iterate with a fix on those 🤞 |
Reopening to track down the tasks after the beta release. |
Sentry currently offers only Feedback API for React Native applications and the widget to collect feedback needs to be implemented by the app developers. The goal of this task is to provide pre-made widget, which can be directly used in React Native applications.
Current browser widget docs.
Current React Native Feedback api docs.
Example React Native implementation in Sentry Demo app
Tasks Overview
Feature Branch /feedback-ui
Currently in progress for beta release
Beta tasks
GA tasks
Done
The text was updated successfully, but these errors were encountered: