ilan-schemoul / meteor-service-worker

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

Error on Cordova App #19

Open paranoico opened 7 years ago

paranoico commented 7 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 8 months ago

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