-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
38 lines (31 loc) · 919 Bytes
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
import { StatusBar } from 'expo-status-bar';
import { LogBox} from 'react-native';
import { Provider as PaperProvider } from 'react-native-paper';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { ContextProvider } from './src/context';
import Navigator from './src/navigation';
const TextEncodingPolyfill = require('text-encoding');
Object.assign(global, {
TextEncoder: TextEncodingPolyfill.TextEncoder,
TextDecoder: TextEncodingPolyfill.TextDecoder,
});
import "./global";
import "react-native-url-polyfill/auto";
import "nativewind/types.d";
LogBox.ignoreAllLogs(true)
export default function App() {
return (
<SafeAreaProvider>
<ContextProvider>
<PaperProvider>
<Navigator/>
<StatusBar/>
</PaperProvider>
</ContextProvider>
</SafeAreaProvider>
);
}
/*"androidNavigationBar": {
"visible": "immersive"
},
*/