-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
26 lines (22 loc) · 646 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 from 'react';
import { Text, View } from 'react-native';
import { createStore } from 'redux';
import { Provider } from 'react-redux';
import { Header } from 'react-native-elements';
import MainNavigator from './utils/navigators';
import reducer from './redux/reducer';
import { setLocalNotificacion, clearLocalNotificacions } from './utils/api'
export default class App extends React.Component {
componentDidMount(){
setLocalNotificacion()
}
render() {
return (
<Provider store={createStore(reducer)}>
<View style={{flex:1}}>
<MainNavigator />
</View>
</Provider>
);
}
}