-
Notifications
You must be signed in to change notification settings - Fork 1
/
App.js
26 lines (25 loc) · 873 Bytes
/
App.js
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
import React, {useEffect} from 'react';
import {NativeBaseProvider} from 'native-base';
import StackNavigator from './src/navigation/StackNavigator.js';
import {NavigationContainer} from '@react-navigation/native';
import {RecoilRoot} from 'recoil';
import ModalWrapper from './src/components/common/modal/ModalWrapper.js';
import SplashScreen from 'react-native-splash-screen';
import {LogBox} from 'react-native';
export default function App() {
useEffect(() => {
SplashScreen.hide();
}, []);
LogBox.ignoreLogs(['new NativeEventEmitter']); // Ignore log notification by message
LogBox.ignoreAllLogs(); //Ignore all log notifications
return (
<RecoilRoot>
<NativeBaseProvider>
<NavigationContainer>
<StackNavigator />
<ModalWrapper />
</NavigationContainer>
</NativeBaseProvider>
</RecoilRoot>
);
}