Comment on page
Progressive Web App
By default, Nectar is a Progressive Web App (PWA) as it includes the main ingredients — the Web App Manifest and the Service Worker.
Web App Manifest provides information about a web application, generally named as
manifest.jsonand located in the root directory of the project.
This file is necessary for the web app to be able to install on the user home screen.
This file contains information such as app name, description, theme colors, launch icons, app shortcuts etc.
The Web App Manifest is located as
Service Worker essentially acts as a proxy server that sits between the web app, the web browser, and the network connection.
Service Worker enables to create offline experiences, handle push notifications, sync data in background and so on.
The Service Worker is located as
This Service Worker contains the code for data caching providing offline experience and handling local push notifications.