1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Bump up Expo versions

`expo-av` has issues with version `10.2.0`
This commit is contained in:
Zhiyuan Zheng
2021-12-18 12:06:35 +01:00
parent 4e693d3903
commit ace530c5bd
6 changed files with 347 additions and 517 deletions

View File

@ -15,6 +15,7 @@ import * as Notifications from 'expo-notifications'
import * as SplashScreen from 'expo-splash-screen'
import React, { useCallback, useEffect, useState } from 'react'
import { AppState, LogBox, Platform } from 'react-native'
import { GestureHandlerRootView } from 'react-native-gesture-handler'
import { QueryClientProvider } from 'react-query'
import { Provider } from 'react-redux'
import { PersistGate } from 'redux-persist/integration/react'
@ -101,15 +102,17 @@ const App: React.FC = () => {
)
return (
<QueryClientProvider client={queryClient}>
<Provider store={store}>
<PersistGate
persistor={persistor}
onBeforeLift={onBeforeLift}
children={children}
/>
</Provider>
</QueryClientProvider>
<GestureHandlerRootView style={{ flex: 1 }}>
<QueryClientProvider client={queryClient}>
<Provider store={store}>
<PersistGate
persistor={persistor}
onBeforeLift={onBeforeLift}
children={children}
/>
</Provider>
</QueryClientProvider>
</GestureHandlerRootView>
)
}