What’s the best way to force a refresh on user devices when I publish a new version of my PWA?
Thanks!
What’s the best way to force a refresh on user devices when I publish a new version of my PWA?
Thanks!
Hi @clncsports
Apologies for the late reply!
The refresh should be automatic. Are you seeing a different behavior?
Thanks for the reply, @Joyce!
How do you mean exactly? The PWA has a way to tell that it’s not using the latest version and refreshes itself upon open?
Thanks!
Yes. There is a version each time you publish and it checks the version. That is standard PWA, not specific to WeWeb
Excellent, thanks @Joyce! Looking forward to push notifications next year!
Hey @Joyce
Question : is it possible to enable « pull to refresh » in a PWA ?
Thanks !
Have a great day
Yes @Philibert
Thank you ! You know how I could achieve this with WeWeb default PWA pluggin ?
You will need some custom js and touch triggers: Triggers | WeWeb Documentation
The plugin focuses more on features like notifications, geolocation, device motion, battery status, and sharing
Alright thanks,
For now I wish to avoid making diy stuff on something like this. I have seen on some dev forums it has been discussed.
Would be nice to have this as a checkbox in the PWA settings in weweb (in More > PWA)
Or an action like “reload app” that could be triggered by a button or by a touch trigger as you mentionned