Open bugproof opened 8 months ago
@bugproof What do you want to mean by "works"? What is the behavior of "doesn't work" for you? For example, does the "PWA Updater" sometimes not report a new update even though the latest version of the app is already ready for updating? Or did the "PWA Updater" report the newest version expected, but was the app never updated even when a user clicked on the "UPDATE NOW" button?
P.S. I don't want to imply that the "PWA Updater" is bug-free, and I strongly agree that it is difficult to figure out PWA. But to the best of my knowledge, most of these kinds of issues were caused by a lack of understanding of the PWA specification and behavior.
"PWA Updater" sometimes not report a new update even though the latest version of the app is already ready for updating
Yeah, I upload new files to my static hosting ftp and most of the time "Update now" bar never shows up. It shows up sometimes.
I tried this solution : https://github.com/jsakamoto/Toolbelt.Blazor.PWA.Updater/issues/14#issuecomment-1873324033
But have to test it more thoroughly to confirm it works.
It shouldn't be that complicated. I appreciate the package but some crucial point is missing as default configuration doesn't work.
Nope the solution from the linked comment doesn't work. We need better solution or being able to programmatically invoke "Update" (Force it) this way we can implement a versioning based on localStorage and having server returning current version.
This nuget. It randomly works. Sometimes it does, sometimes it does not. Can we think of a solution to solve this annoying problem once and for all???? This can't be specific to all PWAs?
https://www.reddit.com/r/Blazor/comments/130e1ya/blazor_wasm_getting_clients_to_update_after_a/
my service-worker.published.js file: am I missing something here? I followed README instructions and it randomly works SOMETIMES? What the hell?