Commit Graph

15 Commits

Author SHA1 Message Date
Yegor
e6cc3cd84d use old Edge-compatible JavaScript in index.html (#83732) 2021-06-01 20:45:58 -07:00
Balvinder Singh Gambhir
4a33813b35 [flutter_tools] added base-href command in web (#80519) 2021-05-19 12:39:02 -07:00
John Ryan
c5d1600843 Fix typo in web template (#77011) 2021-03-04 15:24:03 -08:00
Yegor
e7953b3be4 [web] new service worker loading mechanism (#75535) 2021-02-11 09:16:21 -08:00
Mouad Debbar
b42e34690a [web] Update index.html template to support new path strategy (#67081) 2020-10-02 15:12:04 -07:00
Jonah Williams
90d83e37a6 [flutter_tools] register service worker after first frame event (#66082)
Registering the service worker immediately after the documented has loaded may cause SW initialization to compete with framework initialization. It was recommended to us that we defer the service worker setup until after the framework is done with setup, which should be sometime after the first frame.

To implement this, I augmented the binding setup to dispatch an event on the document after the binding has initialized. I don't see any obvious risks with this setup.

Fixes #66066
2020-09-23 18:58:05 -07:00
Adam Bahr
5cf3c8728c Update "shortcut icon" to "icon" (#63154) 2020-08-07 21:26:03 -07:00
Ferhat
0d452b8305 [web] Change display mode of PWA default to standalone (#56056)
Change display mode of PWA default to standalone, update integration test manifest to new default
2020-04-30 11:20:14 -07:00
Jonah Williams
b127868db4 [flutter_tools] update web template to remove some absolute paths (#52040) 2020-03-05 13:59:57 -08:00
Cristian Zazo
306c23fd36 [web] Fix typo apple-mobile-web-app-status-bar-style (#49894) 2020-01-31 15:38:02 -08:00
Jonah Williams
ab426858b1 [flutter_tools][web] add favicon to template and update index.html (#49237) 2020-01-28 13:09:18 -08:00
Jonah Williams
b3ea191407 [flutter_tools] Update template for web application to correct typo (#48778) 2020-01-14 08:13:01 -08:00
Jonah Williams
9f145f6ced [flutter_tools][web] Add basic service worker generation support to web applications (#48344) 2020-01-13 17:13:02 -08:00
Jonah Williams
5d30c0970a [flutter_tools][web] Add support for web app manifests and arbitrary resource files (from web/) (#48316) 2020-01-10 09:37:20 -08:00
Jonah Williams
bd413bff1b Add flutter create for the web (#34018) 2019-06-07 13:15:38 -07:00