Skip to content

Commit 2f6a19b

Browse files
committed
ref
1 parent 0fa1a05 commit 2f6a19b

File tree

4 files changed

+34
-12
lines changed

4 files changed

+34
-12
lines changed

flutter_bootstrap.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flutter_service_worker.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ const MANIFEST = 'flutter-app-manifest';
33
const TEMP = 'flutter-temp-cache';
44
const CACHE_NAME = 'flutter-app-cache';
55

6-
const RESOURCES = {"flutter_bootstrap.js": "c6a00cfa7e5ee01c9edddc8f14a9d4ba",
6+
const RESOURCES = {"flutter_bootstrap.js": "e9bfbc0bd50f61dca785379047784460",
77
"version.json": "3bfcc9611180dd0fb71b8a33307052cc",
8-
"index.html": "5ad7036d369f9bde720fd66fba32afe0",
9-
"/": "5ad7036d369f9bde720fd66fba32afe0",
8+
"index.html": "e416ef95326ed7778ec3b12b778d3bd5",
9+
"/": "e416ef95326ed7778ec3b12b778d3bd5",
1010
"main.dart.js": "3531c6ead4bc9ef7c7da44c80b92f868",
1111
"flutter.js": "383e55f7f3cce5be08fcf1f3881f585c",
1212
"favicon.png": "5dcef449791fa27946b3d35ad8803796",

icons/.DS_Store

6 KB
Binary file not shown.

index.html

+30-8
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<!DOCTYPE html>
22
<html>
3+
34
<head>
45
<!--
56
If you are serving your web app in a path other than the root, change the
@@ -24,24 +25,45 @@
2425
<link rel="apple-touch-icon" href="icons/icon.png">
2526

2627
<!-- Favicon -->
27-
<link rel="icon" type="image/png" href="favicon.png"/>
28+
<link rel="icon" type="image/png" href="favicon.png" />
2829

2930
<title>Flutter For Dev</title>
3031
<link rel="manifest" href="manifest.json">
3132
</head>
33+
3234
<body>
33-
<!-- This script installs service_worker.js to provide PWA functionality to
34-
application. For more information, see:
35-
https://developers.google.com/web/fundamentals/primers/service-workers -->
35+
3636
<script>
3737
if ('serviceWorker' in navigator) {
3838
window.addEventListener('flutter-first-frame', function () {
39-
navigator.serviceWorker.register('flutter_service_worker.js?v=3683848541');
39+
navigator.serviceWorker.register('flutter_service_worker.js?v=3868596495');
4040
});
4141
}
4242
</script>
43-
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
44-
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-analytics.js"></script>
43+
<script type="module">
44+
// Import the functions you need from the SDKs you need
45+
import { initializeApp } from "https://www.gstatic.com/firebasejs/10.12.3/firebase-app.js";
46+
import { getAnalytics } from "https://www.gstatic.com/firebasejs/10.12.3/firebase-analytics.js";
47+
// TODO: Add SDKs for Firebase products that you want to use
48+
// https://firebase.google.com/docs/web/setup#available-libraries
49+
50+
// Your web app's Firebase configuration
51+
// For Firebase JS SDK v7.20.0 and later, measurementId is optional
52+
const firebaseConfig = {
53+
apiKey: "AIzaSyCrF1dsJf-2A4tgJG811ymjvKkuzeU2zuA",
54+
authDomain: "flutterfordev-bd59d.firebaseapp.com",
55+
projectId: "flutterfordev-bd59d",
56+
storageBucket: "flutterfordev-bd59d.appspot.com",
57+
messagingSenderId: "977034485469",
58+
appId: "1:977034485469:web:274c68645b7a4ea41dc534",
59+
measurementId: "G-R4PFPBS4LQ"
60+
};
61+
62+
// Initialize Firebase
63+
const app = initializeApp(firebaseConfig);
64+
const analytics = getAnalytics(app);
65+
</script>
4566
<script src="main.dart.js" type="application/javascript"></script>
4667
</body>
47-
</html>
68+
69+
</html>

0 commit comments

Comments
 (0)