mirror of
https://github.com/hmalik144/days_left_flutter.git
synced 2025-12-10 03:05:21 +00:00
- Implementation of firebase - Implementation of dependency injection Took 11 hours 26 minutes
69 lines
2.5 KiB
HTML
69 lines
2.5 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<!--
|
|
If you are serving your web app in a path other than the root, change the
|
|
href value below to reflect the base path you are serving from.
|
|
|
|
The path provided below has to start and end with a slash "/" in order for
|
|
it to work correctly.
|
|
|
|
Fore more details:
|
|
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
|
-->
|
|
<base href="/">
|
|
|
|
<meta charset="UTF-8">
|
|
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
|
<meta name="description" content="A days left Flutter application.">
|
|
|
|
<!-- iOS meta tags & icons -->
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="apple-mobile-web-app-title" content="days_left">
|
|
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
|
|
|
<!-- Favicon -->
|
|
<link rel="icon" type="image/png" href="favicon.png"/>
|
|
|
|
<title>days_left</title>
|
|
<link rel="manifest" href="manifest.json">
|
|
</head>
|
|
<body>
|
|
<!-- 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 () {
|
|
navigator.serviceWorker.register('flutter_service_worker.js');
|
|
});
|
|
}
|
|
</script>
|
|
<script src="main.dart.js" type="application/javascript"></script>
|
|
</body>
|
|
</html>
|