1
1
<!DOCTYPE html>
2
2
< html >
3
+
3
4
< head >
4
5
<!--
5
6
If you are serving your web app in a path other than the root, change the
24
25
< link rel ="apple-touch-icon " href ="icons/icon.png ">
25
26
26
27
<!-- Favicon -->
27
- < link rel ="icon " type ="image/png " href ="favicon.png "/>
28
+ < link rel ="icon " type ="image/png " href ="favicon.png " />
28
29
29
30
< title > Flutter For Dev</ title >
30
31
< link rel ="manifest " href ="manifest.json ">
31
32
</ head >
33
+
32
34
< 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
+
36
36
< script >
37
37
if ( 'serviceWorker' in navigator ) {
38
38
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 ' ) ;
40
40
} ) ;
41
41
}
42
42
</ 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 >
45
66
< script src ="main.dart.js " type ="application/javascript "> </ script >
46
67
</ body >
47
- </ html >
68
+
69
+ </ html >
0 commit comments