Replies: 1 comment
-
@bruno-garcia can you please delete it for me? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I set up session replays in my React Native application, and I can see replay insights in the Sentry dashboard. I can access the replays and view information in the video timeline, such as breadcrumbs, the app console, traces, and tags. However, the videos don't show the app screen; they just display a blank screen.
I followed the Sentry documentation for React Native. I'm using React Native version "0.73.2" e "@sentry/react-native": "^6.4.0", and this is my Sentry.init code:
Sentry.init({ attachStacktrace: true, beforeBreadcrumb(breadcrumb, hint) { if (breadcrumb.category === 'xhr') { const data = { status: hint?.xhr.status, responseUrl: hint?.xhr.responseURL, method: breadcrumb?.data?.method, }; return {...breadcrumb, data}; } return breadcrumb; }, dsn: 'dns', enableAutoSessionTracking: true, ignoreErrors: [ 'canceled', 'CanceledError', 'Network Error', 'Non-Error exception captured', 'timeout exceeded', 'timeout of 20000ms exceeded', 'timeout of 60000ms exceeded', ], debug: true, _experiments: { replaysSessionSampleRate: 1.0, replaysOnErrorSampleRate: 1.0, }, integrations: [ navigationIntegration, Sentry.mobileReplayIntegration({ maskAllText: true, maskAllImages: false, maskAllVectors: false, }), ], tracesSampleRate: 1.0, });
Beta Was this translation helpful? Give feedback.
All reactions