Hi, i’m trying to use the BroadcastUpdatePlugin to show a messagemodal, when a new appversion is available.
If i serve the app at localhost. all works as expected, but not at my firebasehosting.
For the firebasehosted version i expect, when I deploy a new appversion and reload the page, it should give me an updatemessage, but i don’t get it. After another reload, i see the new appversion, which then works as expected.
I created a small example with f7-cli: https://gitlab.com/mike-tuxedo/framework7-pwa-broadcastupdatetest
Do someone have an idea whats wrong? I already have tried many different approaches in service-worker.js without success. I also moved the eventlistener on clientside to the init-function from F7, but that also doesn’t work.