-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
54 lines (35 loc) · 1.31 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
import React, { Profiler } from 'react';
import { createStackNavigator, TransitionPresets, TransitionSpecs } from '@react-navigation/stack';
import AppNavigator from './AppNavigator';
// import firebase from 'firebase';
import { ActivityIndicator, Text, View } from 'react-native';
import { PersistGate } from 'redux-persist/integration/react';
import Store from './app/store/Store';
import { Provider } from 'react-redux';
const Stack = createStackNavigator();
class App extends React.Component {
render() {
return (
<PersistGate loading={false} persistor={Store.persistor}>
<Provider store={Store.store}>
<AppNavigator />
</Provider>
</PersistGate>
);
}
}
export default App
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
// var firebaseConfig = {
// apiKey: "AIzaSyDHpdnjtZPe4Wd-bn-PEq0S0QeqF8gVzO0",
// authDomain: "windaily-cf016.firebaseapp.com",
// projectId: "windaily-cf016",
// storageBucket: "windaily-cf016.appspot.com",
// messagingSenderId: "478338770949",
// appId: "1:478338770949:web:94210923f2f3b22c07946c",
// measurementId: "G-6320PG51P9"
// };
// // Initialize Firebase
// if(!firebase.apps.length)
// firebase.initializeApp(firebaseConfig);