mirror of
https://github.com/hmalik144/days_left_flutter.git
synced 2026-01-31 02:51:47 +00:00
- Introduction on base view model and stateless widget classes
- Implementation of firebase - Implementation of dependency injection Took 11 hours 26 minutes
This commit is contained in:
@@ -33,6 +33,29 @@
|
||||
<!-- This script installs service_worker.js to provide PWA functionality to
|
||||
application. For more information, see:
|
||||
https://developers.google.com/web/fundamentals/primers/service-workers -->
|
||||
<!-- The core Firebase JS SDK is always required and must be listed first -->
|
||||
<script src="https://www.gstatic.com/firebasejs/8.6.1/firebase-app.js"></script>
|
||||
<script src="https://www.gstatic.com/firebasejs/8.6.1/firebase-auth.js"></script>
|
||||
<script src="https://www.gstatic.com/firebasejs/7.17.1/firebase-firestore.js"></script>
|
||||
|
||||
<!-- https://firebase.google.com/docs/web/setup#available-libraries -->
|
||||
<script src="https://www.gstatic.com/firebasejs/8.0.0/firebase-analytics.js"></script>
|
||||
|
||||
<script>
|
||||
// Your web app's Firebase configuration
|
||||
var firebaseConfig = {
|
||||
apiKey: "AIzaSyDZk-H3yoMupYsTt85kXS3h3GCe2F8MjmU",
|
||||
authDomain: "farmr-8a496.firebaseapp.com",
|
||||
databaseURL: "https://farmr-8a496.firebaseio.com",
|
||||
projectId: "farmr-8a496",
|
||||
storageBucket: "farmr-8a496.appspot.com",
|
||||
messagingSenderId: "640643168912",
|
||||
appId: "1:640643168912:web:d3a99b921e48d1dd2bb615"
|
||||
};
|
||||
// Initialize Firebase
|
||||
firebase.initializeApp(firebaseConfig);
|
||||
</script>
|
||||
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('flutter-first-frame', function () {
|
||||
|
||||
Reference in New Issue
Block a user