-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed as not planned
Labels
Feature: User FeedbackPackage: reactIssues related to the Sentry React SDKIssues related to the Sentry React SDK
Description
Is there an existing issue for this?
- I have checked for existing issues https://github.com/getsentry/sentry-javascript/issues
- I have reviewed the documentation https://docs.sentry.io/
- I am using the latest SDK release https://github.com/getsentry/sentry-javascript/releases
How do you use Sentry?
Sentry Saas (sentry.io)
Which SDK are you using?
@sentry/react
SDK Version
8.10
Framework Version
18.2.0
Link to Sentry event
No response
SDK Setup
init({
enabled: import.meta.env.PROD,
dsn: import.meta.env["VITE_SENTRY_DSN"],
integrations: [browserTracingIntegration(), feedbackIntegration({
showEmail: false,
showName: false,
enableScreenshot: true,
}), reactRouterV6BrowserTracingIntegration({
useEffect: React.useEffect,
createRoutesFromChildren,
matchRoutes,
useLocation,
useNavigationType
})],
environment: import.meta.env.MODE,
release: import.meta.env.VITE_commitHash,
})Steps to Reproduce
- Setup a react vite project using their npx create tool
- Build the source with enableScreenshot set to true
- Publish it to a static host site on any domain name (other than localhost) that are NOT over secure connection (i.e. http)
- Open the feedback box
Expected Result
The "Add a screenshot" button should be showing up in production build
Actual Result
The button, will not show up.
Metadata
Metadata
Assignees
Labels
Feature: User FeedbackPackage: reactIssues related to the Sentry React SDKIssues related to the Sentry React SDK
Projects
Status
Waiting for: Product Owner