Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70442

Cordova + Service Workers - I this possible?

$
0
0

@toddmobilecaddy wrote:

I’m trying get a remote hybrid cordova app to work with service workers.
My service worker (and bulk of ionic app) is being loaded from a server on the web, and it seems to work OK (caching of the js/css/html etc), apart from when I try to access the cordova.js which is being served from localhost.

I’ve read lots on this and have tried many things, but whenever I run up the app a second time the call to load https://localhost/cordova.js fails with TypeError: Failed to fetch.

Has anyone managed to get a sw working with this type of setup?
Ta, Todd

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70442

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>