format import React , { useEffect , Suspense } from 'react' ; import 'react-native-get-random-values' ; import { NavigationContainer } from '@react-navigation/native' ; import { createStackNavigator } from '@react-navigation/stack' ; import { Loading } from './screens/Loading' ; import { AlphaWarning } from './screens/AlphaWarning' ; import { Onboarding } from './screens/Onboarding' ; import { OnboardingHow } from './screens/OnboardingHow' ; import { HomeBluetooth } from './screens/HomeBluetooth' ; import { HomeTourOLD } from './screens/HomeTourOLD' ; import { HomeTour } from './screens/HomeTour' ; import { Endangerment } from './screens/Endangerment' ; import { BluetoothNotification } from './screens/BluetoothNotification' ; import { SymptomInfo } from './screens/SymptomInfo' ; import { DataUpload } from './screens/DataUpload' ; import { AlphaPositiveResult } from './screens/AlphaPositiveResult' ; import { IDMatch } from './screens/IDMatch' ; import AsyncStorage from '@react-native-community/async-storage' ; import { PositiveResult } from './screens/PositiveResult' ; import { Upload } from './screens/Upload' ; import { Home } from './screens/Home' ; const Stack = createStackNavigator ( ) ; export type RootStackParamList = { Loading : undefined ; AlphaWarning : undefined ; Onboarding : undefined ; OnboardingHow : undefined ; HomeTourOLD : undefined ; HomeTour : undefined ; HomeBluetooth : undefined ; Endangerment : undefined ; BluetoothNotification : undefined ; SymptomInfo : undefined ; DataUpload : undefined ; AlphaPositiveResult : undefined ; IDMatch : undefined ; PositiveResult : undefined ; Upload : { deferUploadTimeout : React . MutableRefObject < NodeJS . Timeout | null > ; } ; Home : undefined ; } ; declare const global ; export const App = ( ) => { useEffect ( ( ) => { } ) ; return ( < Suspense fallback = { null } > < NavigationContainer > < Stack . Navigator initialRouteName = "Loading" headerMode = "none" > < Stack . Screen name = "Loading" component = { Loading } / > < Stack . Screen name = "AlphaWarning" component = { AlphaWarning } / > < Stack . Screen name = "Onboarding" component = { Onboarding } / > < Stack . Screen name = "OnboardingHow" component = { OnboardingHow } / > < Stack . Screen name = "HomeTour" component = { HomeTour } / > < Stack . Screen name = "HomeTourOLD" component = { HomeTourOLD } / > < Stack . Screen name = "HomeBluetooth" component = { HomeBluetooth } / > < Stack . Screen name = "Endangerment" component = { Endangerment } / > < Stack . Screen name = "PositiveResult" component = { PositiveResult } / > < Stack . Screen name = "Upload" component = { Upload } / > < Stack . Screen name = "Home" component = { Home } / > < Stack . Screen name = "BluetoothNotification" component = { BluetoothNotification } / > < Stack . Screen name = "IDMatch" component = { IDMatch } / > < Stack . Screen name = "SymptomInfo" component = { SymptomInfo } / > < Stack . Screen name = "AlphaPositiveResult" component = { AlphaPositiveResult } / > < Stack . Screen name = "DataUpload" component = { DataUpload } / > < /Stack.Navigator> < /NavigationContainer> < /Suspense>); } ; export default App ;