question

PrathameshShende avatar image
0 Votes"
PrathameshShende asked Bruce-SqlWork answered

How to create push notification in blazor wasm

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

dotnet-aspnet-core-blazor
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

Bruce-SqlWork avatar image
0 Votes"
Bruce-SqlWork answered

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/

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.