Service Worker - JavaScript - AWS Amplify Gen 1 DocumentationAWS Amplify ServiceWorker class enables registering a service worker in the browser and communicating with it via postMessage events, so that you can create rich offline experiences with Push APIs and analytics. AWS Amplify Documentation