Progressive Web Apps (PWA)
This seems to be a google only initiative (supported only in Chrome or Edge).
It involves a manifest.json file and a service worker (mdn link)
that you add to your page <link rel="manifest" href="/manifest.json">
.
Testing is done in the manifest pain of chrome dev tools.
You can add icons, splash screens and screen-shots.
It's basically a way to make your web app look like a native app, and be carried on app stores.
It also provides an "install" button in the browser that will add the app to your desktop or home screen.
I've never installed one to my knowledge.
You can't install them on Android, but they have special support from apps in a Trusted Web Activity (TWA). Interesting contrast between PWA and old school Android WebView and Cordova. (It would also be interesting to contrast with Flutter and React Native.)
Copyright SimpatiCorp 2024