-
Notifications
You must be signed in to change notification settings - Fork 0
/
App.js
55 lines (37 loc) · 1.08 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
54
import React, {
Component
} from 'react';
import {
AppRegistry,
StyleSheet,
Text,
View,
NetInfo
} from 'react-native';
import firebase from 'firebase';
import {
Navigator
} from 'react-native-deprecated-custom-components'
import Dashboard from './components/home/DashBoard'
import SignIn from './components/Auth/SignIn'
import SignUp from './components/Auth/SignUp'
import Splash from './components/SplashScreen/splash'
import {createStackNavigator ,createAppContainer } from 'react-navigation';
var config = {
apiKey: "AIzaSyDTO_VW8KigcpywWHw8q10DCQBRz0uBW54",
authDomain: "zenclause.firebaseapp.com",
databaseURL: "https://zenclause.firebaseio.com",
projectId: "zenclause",
storageBucket: "zenclause.appspot.com",
messagingSenderId: "284077417988"
};
firebase.initializeApp(config);
const App = createStackNavigator({
SignIn: {screen: SignIn},
Dashboard: {screen: Dashboard},
Splash: {screen: Splash},
SignUp: {screen: SignUp},
});
const AppContainer = createAppContainer(App)
export default AppContainer
console.disableYellowBox = true;