-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.js
35 lines (22 loc) · 790 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
27
28
29
30
31
32
import { StatusBar } from 'expo-status-bar';
import React, {useEffect} from 'react';
import { YellowBox } from 'react-native'
import Navigation from "./app/navigations/Navigation";
import {decode, encode} from "base-64";
import {firebaseApp} from "./app/utils/firebase";
//import * as firebase from "firebase";
YellowBox.ignoreWarnings([
'Animated: `useNativeDriver` was not specified. This is a required option and must be explicitly set to `true` or `false`',
'Setting a timer'
])
// ------- END OF WARNING SUPPRESSION
if(!global.btoa) global.btoa=encode;
if(!global.atob) global.atob=decode;
export default function App() {
/*useEffect(() => {
firebase.auth().onAuthStateChanged((user)=>{
console.log(user);
});
}, []);*/
return <Navigation/>;
}