The local file scheme isn't supported for ServiceWorker, maybe you need to wait this commit https://codereview.chromium.org/1191793003/#ps40001.
Thanks, Junwei. -----Original Message----- From: Crosswalk-help [mailto:[email protected]] On Behalf Of Rui Fortes Sent: Monday, January 18, 2016 8:30 AM To: [email protected] Subject: [Crosswalk-help] Is it possible to register service worker using cordova-plugin-crosswalk-webview on android? Hello. Can someone tell me if it is possible to register service worker using cordova-plugin-crosswalk-webview on android? It always throws with "Failed to register a ServiceWorker: The URL protocol of the current origin ('file://') is not supported" message I tried using cordova-plugin-httpd to server the local file via https but still get the same message. How can I use service workers with cordova? Thanks _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help _______________________________________________ Crosswalk-help mailing list [email protected] https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-help
