diff --git a/docs/pages/guides/using-sentry.mdx b/docs/pages/guides/using-sentry.mdx index faf8d4480d608..cb934b17c59bc 100644 --- a/docs/pages/guides/using-sentry.mdx +++ b/docs/pages/guides/using-sentry.mdx @@ -193,6 +193,7 @@ If your app uses [Expo Router](/router/introduction), then you can configure Sen import { Slot, useNavigationContainerRef } from 'expo-router'; import React from 'react'; import * as Sentry from '@sentry/react-native'; +import { isRunningInExpoGo } from 'expo'; // Construct a new instrumentation instance. This is needed to communicate between the integration and React const routingInstrumentation = new Sentry.ReactNavigationInstrumentation(); @@ -204,6 +205,7 @@ Sentry.init({ new Sentry.ReactNativeTracing({ // Pass instrumentation to be used as `routingInstrumentation` routingInstrumentation, + enableNativeFramesTracking: !isRunningInExpoGo(), // ... }), ],