forked from derensdima22/notification
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.js
More file actions
25 lines (22 loc) · 714 Bytes
/
index.js
File metadata and controls
25 lines (22 loc) · 714 Bytes
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
/**
* @format
*/
import {AppRegistry} from 'react-native';
import App from './App';
import {name as appName} from './app.json';
import firebase from '@react-native-firebase/app';
import '@react-native-firebase/auth';
import '@react-native-firebase/firestore';
const firebaseConfig = {
apiKey: 'AIzaSyDQdkvvxKKx4-WrjLQoYf08GFARgi_qO4g',
authDomain: 'ethora-668e9.firebaseapp.com',
projectId: 'ethora-668e9',
storageBucket: 'ethora-668e9.appspot.com',
messagingSenderId: '972933470054',
appId: '1:972933470054:web:d4682e76ef02fd9b9cdaa7',
measurementId: 'G-WHM7XRZ4C8',
};
if (!firebase.apps.length) {
firebase.initializeApp(firebaseConfig);
}
AppRegistry.registerComponent(appName, () => App);