Skip to content

Commit

Permalink
undoo changes to sample
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-zimerman committed Oct 17, 2024
1 parent aa353c1 commit 652a8dc
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions samples/react-native/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ Sentry.init({
// Replace the example DSN below with your own DSN:
dsn: SENTRY_INTERNAL_DSN,
debug: true,
// maxBreadcrumbs: 0,
// enableNative: true,
environment: 'dev',

beforeSend: (event: ErrorEvent) => {
logWithoutTracing('Event beforeSend:', event.event_id);
return event;
Expand All @@ -68,16 +65,13 @@ Sentry.init({
);
},
enableUserInteractionTracing: true,

integrations(integrations) {
integrations.push(
reactNavigationIntegration,

Sentry.reactNativeTracingIntegration({
// The time to wait in ms until the transaction will be finished, For testing, default is 1000 ms
idleTimeoutMs: 5_000,
}),

Sentry.httpClientIntegration({
// These options are effective only in JS.
// This array can contain tuples of `[begin, end]` (both inclusive),
Expand All @@ -88,7 +82,7 @@ Sentry.init({
// default: [/.*/]
failedRequestTargets: [/.*/],
}),
Sentry.mobileReplayIntegration({
Sentry.mobileReplayIntegration({
maskAllImages: true,
maskAllVectors: true,
// maskAllText: false,
Expand Down Expand Up @@ -117,9 +111,9 @@ Sentry.init({
// otherwise they will not work.
// release: 'myapp@1.2.3+1',
// dist: `1`,
// profilesSampleRate: 1.0,
profilesSampleRate: 1.0,
_experiments: {
replaysSessionSampleRate: 1.0,
// replaysSessionSampleRate: 1.0,
replaysOnErrorSampleRate: 1.0,
},
spotlight: true,
Expand Down

0 comments on commit 652a8dc

Please sign in to comment.