Open getthit opened 2 years ago
@getthit Thank you for asking!
Unfortunately, I designed this library for Blazor WebAssembly offline support scenario. Therefore, I'm not sure this library should work fine on Blazor Server apps. I'll consider the Blazor Server apps scenario.
And I'll appreciate it if you could provide a sample project representing your scenario.
@getthit I verified that the PWAUpdaterService
could work fine even on a Blazor Server app. (Please see also the commits in the blazor-server-support
branch in this repository.)
https://github.com/jsakamoto/Toolbelt.Blazor.PWA.Updater/commits/blazor-server-support
However, the <PWAUpdater>
component did not work because it depends on the service available only on Blazor WebAssembly apps.
I'll try to make the PWAUpdater
component to be available on both Blazor Server and Blazor WebAssembly.
@getthit
I published the new version of the "Blazor PWA Updater," which has added support for the Blazor Server.
https://www.nuget.org/packages/Toolbelt.Blazor.PWA.Updater/2.0.0
Will this work with blazor Server + Client?, We tried it on our site, but it didn't help.