Closed vrde closed 1 year ago
OK that was the staging dapp :sweat:, that's why it was not updated, so the problem is not in production.
I remember one user having a similar issue (dapp not updating), would it make anyway sense to add a button to reset the state of the dapp?
The update of the service worker seems to work fine, let's think about this in case we have issues with it.
A contributor had issues with an update recently, we don't know exactly, can be that the service worker didn't update. Anyway in the settings we should have a button to reset the app that deletes cookies, local storage, and unregisters the service worker.
Problem: I opened my Brave browser and pointed it to https://dapp-neokingdom-staging.vercel.app/. I see an old version of the dapp, and even if I wait it doesn't update. Using the refresh button of the browser (even a hard refresh) doesn't update the dapp. Instead, I have to:
Solution:
/hard-reset
URL that uninstalls the service worker and clean storage/cookies.reset
button on the dapp to manually trigger the reset.What do you think?