TalAter / UpUp

✈️ Easily create sites that work offline as well as online
https://www.talater.com/upup/
MIT License
4.88k stars 264 forks source link

How to clean / terminate / unregister ServiceWorkers #57

Closed pixeline closed 8 years ago

pixeline commented 9 years ago

I was experimenting with SW but found out it created issues with single sign-on on my project. I removed upup, but the problem stayed. I realized you need to manually unregister SW.

On chrome, you can do that by going to chrome://serviceworker-internals and then click on "unregister"

This should go in the Docs somewhere. At least it is here, for now :-)

Thanks!

OskarKlintrot commented 8 years ago

Great, that helped me a lot!

TalAter commented 8 years ago

Thanks @pixeline.

Could you elaborate a bit on the problem you had on your site so I can try and reproduce the issue?

pixeline commented 8 years ago

@TalAter Sure! I'm using an opensource php package : hybridauth for a small personal project: http://do-not-forget.me When using upup, I could not successfully log in using my Facebook or Gmail account. Upup worked well otherwise. I couldn't find the exact cause so I gave up. I'll give it another spin when I have more time.