Initially people thought Web Apps can never compete with the native apps for reliability, speed and user engagement. But few technologies let you offer few key features customers want from native apps. We call these Progressive Web Apps — A hybrid of web app and native app. They give users the kind of reliable,fast and engaging experience that they have come to expect from the native apps but delivered through webs.
In this blog, I am going to teach you the fundamentals of Progressive Web Apps and how to kick start with PWA in your own site. They are reliable and load quickly even when slow internet,intermittent networks or when there is no internet at all.
To get an idea about Progressive Web App you can have a look at : https://shailaja93.github.io/Progressive-Web-Apps/
There are two essential pieces of technology that enable the progressive web app to be reliable, fast and engaging — Service Worker and Web App Manifest File.
Service Worker has a different life cycle which is completely separate from the web page. In order to use the service worker it has to be registered by your app. If the page never had before service worker or the service worker has been updated the browser gets the service worker and installs it.Hence after being installed it then gets activated. The service worker then controls the pages under the scope (Don’t worry if you are not aware with the scope will cover later). Once the service worker is in control it will handle fetch,message/push events. Note that the browser terminates the service worker to save memory and it will be restarted as needed.
Web Manifest File gives the ability to control how your app appears to the user and more significantly how the app is launched.When a set of heuristics are met the web app prompts the user to add your app to the home screen. Then when the user opens up the home screen it opens up the full screen app with no browser UI. Thus it feels like any other native app.
To kick start with Progressive Web App you can go through my blogs :
SoluteLabs is a high-performance team of 25 focused on mobile and web design and development; we have produced top #10 chart topping applications on Android and iOS app stores, graphics that have gone viral and applications with Millions of downloads.