Files
doneit-web/src/assets/js/index.js
T

28 lines
1.3 KiB
JavaScript
Raw Normal View History

2021-04-08 09:25:25 +01:00
2022-01-03 18:45:37 +01:00
// // Import the functions you need from the SDKs you need
// import { initializeApp } from "https://www.gstatic.com/firebasejs/9.2.0/firebase-app.js";;
// import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.2.0/firebase-analytics.js";
// import { getMessaging, getToken } from "https://www.gstatic.com/firebasejs/9.2.0/firebase-messaging.js";
2021-04-08 09:25:25 +01:00
2022-01-03 18:45:37 +01:00
// // TODO: Add SDKs for Firebase products that you want to use
// // https://firebase.google.com/docs/web/setup#available-libraries
2021-04-08 09:25:25 +01:00
2022-01-03 18:45:37 +01:00
// // Your web app's Firebase configuration
// // For Firebase JS SDK v7.20.0 and later, measurementId is optional
// const firebaseConfig = {
// apiKey: "AIzaSyAAdHmTFznCMerdT99nrewJgISRvtxPqoY",
// authDomain: "gabinete-digital-2020.firebaseapp.com",
// databaseURL: "https://gabinete-digital-2020.firebaseio.com",
// projectId: "gabinete-digital-2020",
// storageBucket: "gabinete-digital-2020.appspot.com",
// messagingSenderId: "800733765231",
// appId: "1:800733765231:web:28e7792ab150006513779a",
// measurementId: "G-8QN4BLZ8XK"
// };
2021-04-08 09:25:25 +01:00
2022-01-03 18:45:37 +01:00
// // Initialize Firebase
// const app = initializeApp(firebaseConfig);
// const analytics = getAnalytics(app);
// const messaging = getMessaging(app);
2021-04-08 09:25:25 +01:00
2022-01-03 18:45:37 +01:00
// getToken({vapidKey: "BEuyzkUKcx4FSs-6GaIz_si2oV5Ut7e5ZEtcrVvr5L_tMVWZtS1NTqdtQkih5QCt2FZKuRUxZIaLm5GaxI6nJEw"});