-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFirebaseConfig.ts
More file actions
34 lines (32 loc) · 1.51 KB
/
FirebaseConfig.ts
File metadata and controls
34 lines (32 loc) · 1.51 KB
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
// Import the functions you need from the SDKs you need
import { initializeApp } from "firebase/app";
import { initializeAuth } from 'firebase/auth';
import ReactNativeAsyncStorage from '@react-native-async-storage/async-storage';
import { getFirestore } from "firebase/firestore";
import { getStorage } from 'firebase/storage';
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {
apiKey: "AIzaSyC2xRl4T9TGRzHRB6VRVVmhP8laHHFLABQ",
authDomain: "rumble-swipeconnect.firebaseapp.com",
projectId: "rumble-swipeconnect",
storageBucket: "rumble-swipeconnect.firebasestorage.app",
messagingSenderId: "422725323894",
appId: "1:422725323894:web:0acf9ec44f7e0775472357",
measurementId: "G-4N259DXX23"
};
// Initialize Firebase
const app = initializeApp(firebaseConfig);
export const auth = initializeAuth(app);
export const db = getFirestore(app);
export const storage = getStorage(app);
export { app };
export const googleAuthConfig = {
expoClientId: "422725323894-aibv8o3npa4ufish8g5b2j9q2o42eqc8.apps.googleusercontent.com",
// Don't need these for now since we don't have a published app
// androidClientId: "YOUR_ANDROID_CLIENT_ID.apps.googleusercontent.com",
// iosClientId: "YOUR_IOS_CLIENT_ID.apps.googleusercontent.com",
webClientId: "Y422725323894-aibv8o3npa4ufish8g5b2j9q2o42eqc8.apps.googleusercontent.com",
};
export const API_BASE_URL = "https://rumble-xe2g.onrender.com/api";
// export const API_BASE_URL = "http://127.0.0.1:5000/api";