-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
24 lines (23 loc) · 857 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
import React, { Component } from 'react';
import { View, StyleSheet, Text, ScrollView } from 'react-native';
import { Provider } from 'react-redux';
import { createStore, applyMiddleware } from 'redux';
import ReduxThunk from 'redux-thunk';
import reducers from './src/components/reducers';
import RouterComponent from './src/components/RouterComponent';
import SplashScreen from 'react-native-splash-screen';
//https://itnext.io/install-react-native-maps-with-gradle-3-on-android-44f91a70a395
//https://medium.com/@malithjayaweera/adding-a-heatmap-overlay-over-react-native-map-fed02130f2a9
class App extends Component {
componentDidMount(){
SplashScreen.hide();
}
render(){
return (
<Provider store={createStore(reducers, {}, applyMiddleware(ReduxThunk))}>
<RouterComponent/>
</Provider>
);
}
}
export default App;