You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looking through your documentation, it sounds like I should be able to put the install button inside my app, but attempting to call await JSRuntime.InvokeAsync<object>("BlazorPWA.installPWA"); results in a WASM error: Microsoft.JSInterop.JSException: Could not find 'BlazorPWA' in 'window'.
I'm assuming I missed a step in there somewhere. I see the ServiceWorker.js and ServiceWorkerRegister.js, but nothing that contains installPWA.
Any pointers for getting the install to kick off from in Blazor, or is the banner the only option?
The text was updated successfully, but these errors were encountered:
Looking through your documentation, it sounds like I should be able to put the install button inside my app, but attempting to call
await JSRuntime.InvokeAsync<object>("BlazorPWA.installPWA");
results in a WASM error:Microsoft.JSInterop.JSException: Could not find 'BlazorPWA' in 'window'.
I'm assuming I missed a step in there somewhere. I see the ServiceWorker.js and ServiceWorkerRegister.js, but nothing that contains installPWA.
Any pointers for getting the install to kick off from in Blazor, or is the banner the only option?
The text was updated successfully, but these errors were encountered: