Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add to Home Screen (progressive web app) functionality #131

Open
avodonosov opened this issue Sep 26, 2021 · 4 comments
Open

Add to Home Screen (progressive web app) functionality #131

avodonosov opened this issue Sep 26, 2021 · 4 comments

Comments

@avodonosov
Copy link

Idea.

It may be good to have an option to include the "Add to Home screen" functionality into the generated HTML, so that mobile users can "install" the project.

https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Add_to_home_screen

@SheepTester
Copy link
Owner

SheepTester commented Sep 26, 2021

This cannot be added to an HTML file I think; it'll have to require the zip option since the manifest file has to be separate

@avodonosov
Copy link
Author

avodonosov commented Sep 26, 2021

Yes, the single file won't work. Only .zip bundles.

BTW, another useful option could be to use Service Worker to cache the app assets, so the apb can work offline (as done in the Add to Home screen documentation link above). It would probably be useful both for the Add to Home screen, and without it.

@UtterDonkey
Copy link

Would that make loading quicker?

@SheepTester
Copy link
Owner

It would make the loading time independent of your network speed because it's loading from your computer's file system. However, it's probably not going to be immediate because reading and storing all that in memory takes some time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants