There’s been a lot of talk lately about Progressive Web Apps. The main purpose is to provide an app-like user experience. For those who haven’t heard of them, progressive web apps aim to bridge the gap between the mobile web and native apps by providing things like the ability to install, provide offline support, run background processes and send push notifications.
How does it work? What does it mean from the technical point of view? Is it worth to dig into PWA now? What are the non-technical doubts about using it?
Johannes Weber shows PWA in action and is intended to answer all these questions.
15. What is a “Progressive Web App”?
● Works offline
● Launches from home screen
● Hides URL bar
● Branded colors
● "First class" treatment in OS
● Push notifications (optional)
19. Next Steps
● Be on HTTPS
● Add a manifest to control the how your experience is
shown and launched
● Use Service Worker and make it work offline
● Control the prompting experience
20. Installable web apps in 2 simple steps
{
"name": "The Airhorner",
"short_name": "Airhorner",
"icons": [],
"start_url": "index.html",
"display": "standalone",
"theme_color": "",
"background_color": ""
}
1. Create a manifest (json)
<link rel="manifest"
href="/manifest.json">
2. Link it to your page
33. Next Steps
● Be on HTTPS
● Add a manifest to control the how your experience is
shown and launched
● Use Service Worker and make it work offline
● Control the prompting experience
43. Next Steps
● Be on HTTPS
● Add a manifest to control the how your experience is
shown and launched
● Use Service Worker and make it work offline
● Control the prompting experience
45. 1. Works if Browser Closed
2. Needs Permission
46. +26%increase in average spend
per visit by members arriving
via a push notification
+72%increase in time spent for users
visiting via a push notification
+50%repeat visits within 3 months
51. API’s
● Notification API
Handles notification display
● Service Workers API
Handles the push message when it arrives
● Push API
Enables users to (un)subscribe and receive push messages
56. ● Reliable: Fast loading, offline and on flaky networks
● Fast: Smooth animation, scrolling and nav
● Engaging and integrated
On the home screen, no URL bar, icons, splash
● Re-engaging with push notifications
● Consistent experience across browsers
The Progressive Web App Experience