abuanwar072/Flutter-Responsive-Admin-Panel-or-Dashboard

a little guidance on this small code in index.html please

Opened this issue · 1 comments

this is my code....how to match it with latest version that is just release??

<title>4E Admin Panel</title>

<script type="module"> // Import the functions you need from the SDKs you need import { initializeApp } from "https://www.gstatic.com/firebasejs/9.6.6/firebase-app.js"; import { getAnalytics } from "https://www.gstatic.com/firebasejs/9.6.6/firebase-analytics.js"; // TODO: Add SDKs for Firebase products that you want to use // https://firebase.google.com/docs/web/setup#available-libraries
// Your web app's Firebase configuration
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
const firebaseConfig = {

//removed for privacy
};

// Initialize Firebase
const app = initializeApp(firebaseConfig);
</script> <script> if ('serviceWorker' in navigator) { window.addEventListener('flutter-first-frame', function () { navigator.serviceWorker.register('flutter_service_worker.js'); }); } </script> <script src="main.dart.js" type="application/javascript"></script> <script src="https://www.gstatic.com/firebasejs/9.6.6/firebase-app.js"></script> <script src="https://www.gstatic.com/firebasejs/9.6.6/firebase-analytics.js"></script> <script src="https://www.gstatic.com/firebasejs/9.6.6/firebase-firestore.js"></script> <script src="https://www.gstatic.com/firebasejs/9.6.6/firebase-storage.js"></script>

Hey, This is the code used for the firebase integration more about it will be in this link.
https://blog.codemagic.io/flutter-web-firebase-authentication-and-google-sign-in/