ilan-schemoul / meteor-service-worker

An universal service worker for meteor apps
MIT License
138 stars 26 forks source link

Error on Cordova App #19

Open paranoico opened 6 years ago

paranoico commented 6 years ago

Hello and thanks for your great work.

We are experiencing some problems trying to implement your package, when testing on Android, the Cordova Application raises the following error: Failed to register a ServiceWorker: An unknown error occurred when fetching the script

The error does not appear when testing on Chrome, just in Cordova.

I have googled a lot trying to find some reason, but found nothing yet.

Thanks again in advance.

ilan-schemoul commented 1 month ago

I think https://github.com/ilan-schemoul/meteor-service-worker/issues/14#issuecomment-335928995 might gives useful advice for cordova