All files should come with app frame web updates. You can start turning you app into PWA by choosing
af.pwa template. It will make sure that your app will meet minimum requirements for PWA.
/file/component/pwa.manifest.json- used to get base setup for progressive web app. Make sure you have correct icons in place.
af.pwa.databinding.SaveToIndexDB.js- for offline usage. Used for communication with service worker and other methods to prepare app to offline mode.
af.pwa.components.FileDownload.js- for offline usage. Handles file download when user is offline.
Service worker registration in template.
Route handler is required for
af.pwa.js in order to serve service worker configuration and other options from the root.
Route handler requires additional files:
af.pwa.sw.workbox.min.js- our service worker
workbox-sw.min.js- library used for service worker
af.pwa.idb.min.js- for offline usage. Library used for Index DB
af.pwa.sw.dataHandler.min.js- for offline usage. Framework methods to handle incomming requests.
af.pwa.sw.article.min.js- for offline usage. Framework methods to store article meta data.
af.pwa.sw.helper.min.js- for offline usage. Framework helper methods.