Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
fisforfaheem opened this issue Feb 22, 2022 · 1 comment
Open

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

fisforfaheem opened this issue Feb 22, 2022 · 1 comment

Comments

@fisforfaheem
Copy link

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>
@shahryar-cmyk
Copy link

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants