File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 11import FontAwesome from '@expo/vector-icons/FontAwesome' ;
22import { DarkTheme , DefaultTheme , ThemeProvider } from '@react-navigation/native' ;
3+ import { isRunningInExpoGo } from 'expo' ;
34import { useFonts } from 'expo-font' ;
45import { SplashScreen , Stack , useNavigationContainerRef } from 'expo-router' ;
56import { useEffect } from 'react' ;
67
78import { useColorScheme } from '@/components/useColorScheme' ;
89import { SENTRY_INTERNAL_DSN } from '../utils/dsn' ;
910import * as Sentry from '@sentry/react-native' ;
10- import { isExpoGo } from '../utils/isExpoGo' ;
1111import { LogBox } from 'react-native' ;
1212import { isWeb } from '../utils/isWeb' ;
1313import * as ImagePicker from 'expo-image-picker' ;
@@ -23,7 +23,7 @@ LogBox.ignoreAllLogs();
2323SplashScreen . preventAutoHideAsync ( ) ;
2424
2525const navigationIntegration = Sentry . reactNavigationIntegration ( {
26- enableTimeToInitialDisplay : ! isExpoGo ( ) , // This is not supported in Expo Go.
26+ enableTimeToInitialDisplay : ! isRunningInExpoGo ( ) , // This is not supported in Expo Go.
2727} ) ;
2828
2929Sentry . init ( {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments