How a PWA works
A PWA is still a website that opens in a browser, but it has a few additions that make it behave like an app. A manifest file tells the phone the name, icon and colours. A small background script stores important parts of the site, so they load instantly and some work even without signal. The user adds the site to their home screen with one tap and opens it without an address bar, like a normal app.
PWA or native app
| PWA | Native app | |
|---|---|---|
| Installation | from the website, no app store | via the App Store and Google Play |
| Development | one codebase for all devices | often separate for iPhone and Android |
| Updates | instant, no approval | through the store, with approval |
| Access to phone features | more limited | full |
| Findable on Google | yes | no |
On iPhones PWAs still have some limitations, for example with notifications. Support is gradually improving, though.
When a PWA pays off
When your customers come back regularly: ordering lunch, booking appointments, checking the status of a job or collecting loyalty points. For an ordinary company website that people visit once, a PWA adds little. Good responsive design and fast loading are enough there.
A real-world example
A restaurant with a delivery service was considering its own mobile app, but developing for two platforms and paying app store fees was too much for its budget. So the ordering system was built as a PWA. Regular customers added it to their home screen, order without downloading an app, and the restaurant can send them a notification about the daily menu. It all runs on one codebase together with the website.
What to watch out for
- A PWA requires a secure connection with an SSL certificate.
- Show users how to add the app to their home screen; they often do not know how.
- Send notifications sparingly, otherwise people switch them off.
A PWA is one way to build a web application that customers use on their phones.