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 1
1
import FontAwesome from '@expo/vector-icons/FontAwesome' ;
2
2
import { DarkTheme , DefaultTheme , ThemeProvider } from '@react-navigation/native' ;
3
+ import { isRunningInExpoGo } from 'expo' ;
3
4
import { useFonts } from 'expo-font' ;
4
5
import { SplashScreen , Stack , useNavigationContainerRef } from 'expo-router' ;
5
6
import { useEffect } from 'react' ;
6
7
7
8
import { useColorScheme } from '@/components/useColorScheme' ;
8
9
import { SENTRY_INTERNAL_DSN } from '../utils/dsn' ;
9
10
import * as Sentry from '@sentry/react-native' ;
10
- import { isExpoGo } from '../utils/isExpoGo' ;
11
11
import { LogBox } from 'react-native' ;
12
12
import { isWeb } from '../utils/isWeb' ;
13
13
import * as ImagePicker from 'expo-image-picker' ;
@@ -23,7 +23,7 @@ LogBox.ignoreAllLogs();
23
23
SplashScreen . preventAutoHideAsync ( ) ;
24
24
25
25
const navigationIntegration = Sentry . reactNavigationIntegration ( {
26
- enableTimeToInitialDisplay : ! isExpoGo ( ) , // This is not supported in Expo Go.
26
+ enableTimeToInitialDisplay : ! isRunningInExpoGo ( ) , // This is not supported in Expo Go.
27
27
} ) ;
28
28
29
29
Sentry . init ( {
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments