index.html 1.34 KB
Newer Older
Ian Hickson's avatar
Ian Hickson committed
1 2
<!DOCTYPE HTML>
<!-- Copyright 2014 The Flutter Authors. All rights reserved.
3 4 5
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file. -->
<html>
6 7 8 9 10 11 12
<head>
  <meta charset="UTF-8">
  <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  <meta name="description" content="A demo app for Flutter's material design and cupertino widgets, as well as many other features of the Flutter SDK.">

  <!-- iOS meta tags & icons -->
  <meta name="apple-mobile-web-app-capable" content="yes">
13
  <meta name="apple-mobile-web-app-status-bar-style" content="black">
14
  <meta name="apple-mobile-web-app-title" content="Flutter Gallery">
15 16
  <link rel="apple-touch-icon" href="icons/Icon-192.png">
  <link rel="shortcut icon" type="image/png" href="favicon.png"/>
17 18

  <title>Flutter Gallery</title>
19
  <link rel="manifest" href="manifest.json">
20 21
</head>
<body>
22 23 24 25 26
  <!-- 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) {
27
      window.addEventListener('flutter-first-frame', function () {
28
        navigator.serviceWorker.register('flutter_service_worker.js');
29 30 31
      });
    }
  </script>
32 33
  <script src="main.dart.js" type="application/javascript"></script>
</body>
Ian Hickson's avatar
Ian Hickson committed
34
</html>