ServiceWorker with cordova generate exception


#1

When I run the app with cordova (Android), at startapp I get this error

#SecurityError: Failed to register a ServiceWorker: The URL protocol of the current origin (‘file://’) is not supported.


#2

Что у вас с гуглом? https://stackoverflow.com/questions/39136625/service-worker-registration-failed