andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 132 forks source link

Chrome Add to Homescreen #90

Closed sangjinshin closed 6 years ago

sangjinshin commented 6 years ago

Just wanted to share that I use Chrome Add to Homescreen feature to run the app looking like a native app on Android. Chrome rejects self-signed SSL, so I just use CloudFlare free. HTTPS is good and all you need to do is add manifest.json and code service-worker.js to have the garage icon show properly on the homescreen and get 100 on Progressive Web App audit on Chrome Developer Tools. Can pull request the code if anyone is interested. https://developers.google.com/web/fundamentals/app-install-banners/