add web support
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
||||
<meta name="description" content="A new Flutter project.">
|
||||
|
||||
<!-- 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="como_gasto">
|
||||
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="shortcut icon" type="image/png" href="favicon.png"/>
|
||||
|
||||
<title>como_gasto</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<!-- Firebase App (the core Firebase SDK) is always required and must be listed first -->
|
||||
<script src="https://www.gstatic.com/firebasejs/7.16.0/firebase-app.js"></script>
|
||||
|
||||
<!-- Add Firebase products that you want to use -->
|
||||
<script src="https://www.gstatic.com/firebasejs/7.16.0/firebase-auth.js"></script>
|
||||
<script src="https://www.gstatic.com/firebasejs/7.16.0/firebase-firestore.js"></script>
|
||||
<script>
|
||||
// Your web app's Firebase configuration
|
||||
var firebaseConfig = {
|
||||
apiKey: "AIzaSyCZt25YKH0FkBmV4NpcvmcNRwlRpGhazUc",
|
||||
authDomain: "comogastoyt-bf4bb.firebaseapp.com",
|
||||
databaseURL: "https://comogastoyt-bf4bb.firebaseio.com",
|
||||
projectId: "comogastoyt-bf4bb",
|
||||
storageBucket: "comogastoyt-bf4bb.appspot.com",
|
||||
messagingSenderId: "173215752753",
|
||||
appId: "1:173215752753:web:7bec11880a8a4c50906b10"
|
||||
};
|
||||
// Initialize Firebase
|
||||
firebase.initializeApp(firebaseConfig);
|
||||
</script>
|
||||
|
||||
<meta name="google-signin-client_id" content="173215752753-p598t2irnttla6j6j1lqpverrtomlccg.apps.googleusercontent.com">
|
||||
</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 -->
|
||||
<script>
|
||||
if ('serviceWorker' in navigator) {
|
||||
window.addEventListener('load', function () {
|
||||
navigator.serviceWorker.register('flutter_service_worker.js');
|
||||
});
|
||||
}
|
||||
</script>
|
||||
<script src="main.dart.js" type="application/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user