How to create push notification in blazor wasm

Prathamesh Shende 376 Reputation points
2021-10-29T19:08:46.977+00:00

hello, want to create push notification in blazor wasm app. the notification should like browser based notify and pwa installed app notification too.

Blazor
Blazor
A free and open-source web framework that enables developers to create web apps using C# and HTML being developed by Microsoft.
1,402 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 56,926 Reputation points
    2021-10-30T16:08:16.237+00:00

    It will depend on the browser and O/S hosting the browser.

    MacOS and safari - use safari push notifications
    MacOS and chrome - use chrome notifications
    IOS - no support, must use a native app
    Android - use chrome notifications
    Windows - use chrome notifications

    Chrome notifications requires creating a service worker which are written in JavaScript.

    https://developers.google.com/web/fundamentals/codelabs/push-notifications

    Safari notifications

    https://developer.apple.com/notifications/safari-push-notifications/

    0 comments No comments