Last active
May 22, 2021 09:51
-
-
Save dipeshhkc/381dd80cdbc6fdd472ff3b1305c5b49e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import firebase from "firebase/app"; | |
import 'firebase/analytics'; | |
const firebaseConfig = { | |
apiKey: '***************', | |
authDomain: '**************', | |
projectId: '**************', | |
storageBucket: '*******************', | |
messagingSenderId: '****************', | |
appId: '*******************', | |
measurementId: '**********', | |
}; | |
if (!firebase.apps.length) { | |
firebase.initializeApp(firebaseConfig); | |
} | |
const analytics = firebase.analytics; | |
export { firebase, analytics }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment