Skip to content

Commit 8a001db

Browse files
committed
fix(mobile): disable Sentry mobile replay to prevent crashes
1 parent fac26ea commit 8a001db

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

apps/mobile/v1/app/_layout.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,17 @@ Sentry.init({
2525
// Enable automatic profiling
2626
profilesSampleRate: __DEV__ ? 1.0 : 0.2,
2727

28-
// Session Replay - captures user sessions for debugging
29-
replaysSessionSampleRate: 0.1, // 10% of normal sessions
30-
replaysOnErrorSampleRate: 1.0, // 100% of error sessions
28+
// Session Replay - disabled for Android compatibility
29+
// replaysSessionSampleRate: 0.1,
30+
// replaysOnErrorSampleRate: 1.0,
3131

3232
// Enable user interaction and native frame tracking
3333
enableUserInteractionTracing: true,
3434
enableNativeFramesTracking: true,
3535

3636
integrations: [
37-
Sentry.mobileReplayIntegration(),
37+
// Mobile replay disabled temporarily for Android compatibility
38+
// Sentry.mobileReplayIntegration(),
3839
Sentry.reactNativeTracingIntegration(),
3940
],
4041

0 commit comments

Comments
 (0)