Progressive Web App is a hot topic on the web right now.
As per recent studies ( Comscore ), users spend more time ( 87% ) on the native app compared to the mobile web because native apps are more predictable, they work offline, show notifications and have access to mobile sensors.
However, 78% of the time is spent in the user’s top 3 apps, and the rest of the apps just sit there and eat up the memory.
Mobile web, on the other hand, has a better reach ( 100 visits/ month for an average user ) but does not does have a native-like experience.
Through this slide you will learn, how we can combine the capabilities of native apps and the reach of the web, to get the best of both worlds, using Progressive Web Apps with WordPress.
According to skilled.co 47% of customers expect a webpage to load in 2 seconds or less before they consider leaving.
This means low speed kills and we need an app that is performant.
You will learn about my experiences in building a Progressive Web App with WordPress, that earns a place on the user’s home screen, works offline, sync in the background and bring the user back with push notification.
A few lessons and tips will be shared for anyone who wants to build a new Progressive Web App with WordPress or convert their existing WordPress site into a PWA and give their users a fast, reliable and engaging experience.
14. ● Easy access on home screen
● Work offline
● Push notifications bring user back
● Access to mobile features and sensors
13% on Mobile Web
87% on Mobile Apps
According to commScore Mobile Metrix
Why users spend more time on native Apps?
#WCAHEMDABAD2019
15. 80%
Of the time is spent
on user’s top 3 apps.
According to commScore Mobile Metrix
#WCAHEMDABAD2019
16. Capability
Reach
Approx. 100 visits/ month for an avg user.
Mobile Apps have better
capability, while Mobile
Web has better reach.
#WCAHEMDABAD2019
19. ● Progressively enhance Web Applications look
and feel like native apps
● PWAs are web applications, looks and behaves
as if it is a mobile app.
WHAT ARE
PROGRESSIVE WEB APPS?
#WCAHEMDABAD2019
22. ● We use app by clicking on
the App icon on home
screen.
● If our web can earn a
place in user’s home
screen, we can increase
the users engagement.
How do you use your App?
#WCAHEMDABAD2019
25. Native Apps PWA
● Develop and maintain 3
separate codebase
● High friction of
distribution
● Less discoverable
● Only the app download
link can be shared
● Only one codebase
● Accessible on android,
IOS and web. Variety of
browsers.
● Content is discoverable
and indexed by search
engines.
● Direct link of any
page/screen can be
shared.
#WCAHEMDABAD2019
26. Native Apps PWA
● Not bookmarkable
● Update the app
through playstore
● High data usage.
● Bookmarkable
● Always fresh
● Large data savings.
#WCAHEMDABAD2019
30. ● A JSON file that contains metadata.
● Tells the browser about your web application and
how it should behave when 'installed' on the user's
mobile device or desktop.
WHAT IS A
WEB APP MANIFEST?
#WCAHEMDABAD2019
31. Valid Manifest
● Chrome - manifest.json
● Opera - manifest.json
● Mozilla - manifest.webmanifest
● Microsoft - manifest.webmanifest
WHAT IS A
WEB APP MANIFEST?
#WCAHEMDABAD2019
50. Once the SW is active, it
Has full control over pages.
#WCAHEMDABAD2019
51. It can now handle events
such as:
1. Fetch
2. Push
3. Sync
#WCAHEMDABAD2019
52. Web
Browser
Service Workers
Intercepts http request
Server
/
Makes
http request
Is Request URL
In Cache?
Returns response from cache
Returns response from the network request
65. 1. Google Chrome for Android
2. Mozilla Firefox for Android
3. Edge for Android
4. Brave for Android
5. Samsung Internet
Browser Compatibility
#WCAHEMDABAD2019
66. 1. iOS just started supporting PWA
from version 11.3
2. Only some features supported
upon iOS
3. Background Sync and Web Push
Notifications are not supported
4. Manually press the Share icon and
then “Add to Home Screen.”
Browser Compatibility
#WCAHEMDABAD2019