-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.js
31 lines (28 loc) · 945 Bytes
/
index.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
27
28
29
30
31
/**
* @format
*/
import 'react-native-url-polyfill/auto';
import "fast-text-encoding"
import 'react-native-reanimated'
import { AppRegistry } from 'react-native';
import App from './src/screens/App';
import { name as appName } from './app.json';
import { NativeBaseProvider } from 'native-base';
import { Provider } from 'react-redux';
import { ToastProvider } from 'react-native-toast-notifications'
import { persistor, store } from './src/store';
import { PersistGate } from 'redux-persist/integration/react';
function Application() {
return (
<Provider store={store}>
<PersistGate loading={null} persistor={persistor}>
<ToastProvider>
<NativeBaseProvider>
<App />
</NativeBaseProvider>
</ToastProvider>
</PersistGate>
</Provider>
);
}
AppRegistry.registerComponent(appName, () => Application);