index.html 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <!--
  5. If you are serving your web app in a path other than the root, change the
  6. href value below to reflect the base path you are serving from.
  7. The path provided below has to start and end with a slash "/" in order for
  8. it to work correctly.
  9. Fore more details:
  10. * https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
  11. -->
  12. <base href="/">
  13. <meta charset="UTF-8">
  14. <meta content="IE=Edge" http-equiv="X-UA-Compatible">
  15. <meta name="description" content="Demonstrates how to use the agora_rtc_engine plugin.">
  16. <!-- iOS meta tags & icons -->
  17. <meta name="apple-mobile-web-app-capable" content="yes">
  18. <meta name="apple-mobile-web-app-status-bar-style" content="black">
  19. <meta name="apple-mobile-web-app-title" content="agora_rtc_engine_example">
  20. <link rel="apple-touch-icon" href="icons/Icon-192.png">
  21. <!-- Favicon -->
  22. <link rel="icon" type="image/png" href="favicon.png"/>
  23. <title>agora_rtc_engine_example</title>
  24. <link rel="manifest" href="manifest.json">
  25. </head>
  26. <body>
  27. <!-- This script installs service_worker.js to provide PWA functionality to
  28. application. For more information, see:
  29. https://developers.google.com/web/fundamentals/primers/service-workers -->
  30. <script>
  31. if ('serviceWorker' in navigator) {
  32. window.addEventListener('flutter-first-frame', function () {
  33. navigator.serviceWorker.register('flutter_service_worker.js');
  34. });
  35. }
  36. </script>
  37. <script src="main.dart.js" type="application/javascript"></script>
  38. </body>
  39. </html>