I have a PWA. I have wrapped the application as cordova application. But I see that Service worker is not getting registered. I get error "ServiceWorker registration failed: DOMException: Failed to register a ServiceWorker: The URL protocol of the current origin ('file://') is not supported."
I can see there are a few plugins for IOS that helps in registering the Service Worker. Is there a way to register the service worker in Android platform?