We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OS:
Platform:
SDK:
@sentry/react-native
react-native version: 0.61.5
react-native
Init Code:
Sentry.init({ dsn: 'https://[email protected]/...' });
I have following issue: I tried to open the showReportDialog to send the user feedback. But it fails to open the popup window in my simulator.
Actual result: It throws an error as "undefined is not a function (near '..Sentry.showReportDialog..')
How the report dialog will opens in my simulator. Can anyone have any example for this in react-native.
I have added the following in my App.js file
import * as Sentry from "@sentry/react-native"; Sentry.init({ dsn: 'DSN', beforeSend(event) { return event; }, }); var eventId = Sentry.captureMessage('User Feedback', function() {}); Sentry.showReportDialog({ eventId: eventId, title: 'Policies and Procedures Feedback', subtitle: 'Please enter your information to submit feedback for the Policies and Procedures.', subtitle2: '', labelComments: 'Feedback', labelSubmit: 'Submit Feedback', // user: { name: this.user.name, email: this.user.email }, }); Sentry.setTag("myTag", "tag-value"); Sentry.setExtra("myExtra", "extra-value"); Sentry.addBreadcrumb({ message: "test" }); //Sentry.setUser({ id: AppSettings.deviceLogin }) //Sentry.nativeCrash(); Sentry.captureMessage("Hello Sentry!"); Sentry.showReportDialog();
The text was updated successfully, but these errors were encountered:
I believe the report dialog is not supported in react-native.
Sorry, something went wrong.
Please follow this, we will most likely add support for this by providing an API but not a UI. #500
No branches or pull requests
OS:
Platform:
SDK:
@sentry/react-native
react-native
version: 0.61.5Init Code:
I have following issue:
I tried to open the showReportDialog to send the user feedback. But it fails to open the popup window in my simulator.
Actual result:
It throws an error as "undefined is not a function (near '..Sentry.showReportDialog..')
How the report dialog will opens in my simulator. Can anyone have any example for this in react-native.
I have added the following in my App.js file
The text was updated successfully, but these errors were encountered: