diff options
author | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-03-08 15:39:14 +0100 |
---|---|---|
committer | Fabio Alessandrelli <fabio.alessandrelli@gmail.com> | 2021-03-08 17:06:24 +0100 |
commit | d8bd54fbf2c3d10ece692da1a9b47e766cc95fee (patch) | |
tree | fd094e00d1784378d291aa8be72056356e56df75 /platform/iphone | |
parent | 0816011e86a5ec4dba8e551d602afdbd6b874a09 (diff) |
[HTML5] Add PWA support to the editor page.
This allows to install it as an app, and provide offline support (after
the first run).
Practically, this boils down to adding a JSON file as a manifest, an
offline page to be displayed when the cached files are not avaialble,
and a JS file to cache resources and return them.
The reason for the "first run requirements" is that some browsers, will
emit an "install" by just visiting the page (to see if the JS code is
compatibile), and we do not want to force casual visitors to just
download the 10 MiB+ compressed editor WebAssembly file without pressing
the start button.
Special thanks to Hugo Locurcio (Calinou) for the initial work.
Diffstat (limited to 'platform/iphone')
0 files changed, 0 insertions, 0 deletions