-
Notifications
You must be signed in to change notification settings - Fork 48
Expand file tree
/
Copy pathApp.js
More file actions
24 lines (21 loc) · 666 Bytes
/
Copy pathApp.js
File metadata and controls
24 lines (21 loc) · 666 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import React, { Component } from 'react';
import { Provider } from 'react-redux';
import { YellowBox } from 'react-native'
import AppNavigator from './src/routes/rootNavigator';
import store from './src/public/redux/store';
import OneSignal from 'react-native-onesignal'
YellowBox.ignoreWarnings(['ViewPagerAndroid']);
import NavigationService from './src/screens/NavigationService';
export default class App extends Component {
render() {
return (
<Provider store={store} >
<AppNavigator
ref={navigatorRef => {
NavigationService.setTopLevelNavigator(navigatorRef);
}}
/>
</Provider>
);
}
}