ubports / morph-browser

Moved to https://gitlab.com/ubports/core/morph-browser
https://gitlab.com/ubports/core/morph-browser
GNU General Public License v3.0
45 stars 35 forks source link

Add to home screen / desktop for PWA #198

Open niutech opened 5 years ago

niutech commented 5 years ago

Please allow us to add a Progressive Web App (PWA) being visited to the home screen / desktop, possibly by providing a new command in the menu. This is similar to #18, but it should work like in Android, by automatically creating a web app on the home screen / desktop, using the data and images found in PWA's manifest.json file. Even discontinued Firefox OS had this functionality.

This will allow us to greatly increase the number of available web apps, not being limited to those published in the OpenStore.

Thanks in advance!

mateosalta commented 5 years ago

here was an implementation on the old browser, much of the code migh be reusable maybe: https://code.launchpad.net/~abreu-alexandre/webbrowser-app/webapp-download

KylePiira commented 4 years ago

I'd like to be able to do this for all websites, not just PWAs. For example, I could add YouTube, Reddit, and Hacker News to my home screen and have them open in a separate window from the main browser. We could fall back upon the favicon if no manifest.json is available.