Aceship / AN-EN-Tags

English + image fork
https://aceship.github.io/AN-EN-Tags/akhr.html
163 stars 121 forks source link

Make site PWA compatible and installable #59

Open Zireael opened 4 years ago

Zireael commented 4 years ago

Hi, I like your interface, it's much neater than the three Arknights support apps currently available in Google Play. Could you consider adding a service worker to your application to make it installable on mobile phones and PC? (Chrome has very good support for installing PWA on mobile PC and Firefox started adding that functionality recently).

Most popular is probably Workbox script. Adding the functionality involves adding a site manifest, service worker init script, service worker JS file and few icons. You can probably generate most of that within minutes sing like PWAbuilder

Aceship commented 4 years ago

currently it works with chrome add to home screen

but didn't work with offline stuff yet

i guess i'll check it later

Zireael commented 4 years ago

currently it works with chrome add to home screen

but didn't work with offline stuff yet

i guess i'll check it later

No worries, have a look at Chrome->Developer Tools->Lighthouse->[Progressive Web App]->Generate Report