-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfirebase.js
30 lines (25 loc) · 976 Bytes
/
firebase.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
import firebase from '@react-native-firebase/app';
import firestore from '@react-native-firebase/firestore';
import auth from '@react-native-firebase/auth';
const firebaseConfig = {
apiKey: "AIzaSyAxAlZSooBfROhqIsSNuzuF5sZk-NSWkSE",
authDomain: "task-9600.firebaseapp.com",
projectId: "task-9600",
storageBucket: "task-9600.appspot.com",
messagingSenderId: "175303172834",
appId: "1:175303172834:web:859b51e29bb910d3f674bb",
measurementId: "G-VMJW74G6PK"
};
// const firebaseConfig = {
// apiKey: 'AIzaSyDTQZK6b6j079BfkNYavdL4u_BMT_xINA8',
// authDomain: 'chatapp-53b62.firebaseapp.com',
// projectId: 'chatapp-53b62',
// storageBucket: 'chatapp-53b62.appspot.com',
// messagingSenderId: '962908484120',
// appId: '1:962908484120:web:00ee5e9b271d9a6248096d',
// measurementId: 'G-VM9SKX5MB9',
// };
firebase.initializeApp(firebaseConfig);
const auth1 = auth();
const db = firebase.firestore();
export { db, auth1 };