DesktopNotifications
A cross-platform C# library for desktop "toast" notifications.
Features
| Windows | Linux (FreeDesktop) | OSX | |
|---|---|---|---|
| Show notifications | ✓ | ✓ | ✕ |
| Schedule notifications | ✕ | ✕ | ✕ |
| Launch actions¹ | ✓ | ✕ | ✕ |
| Replacing notifications | ✕ | ✕ | ✕ |
| Buttons | ✓ | ✓ | ✕ |
| Advanced content (Audio, Images, etc) | ✕ | ✕ | ✕ |
¹ Some platforms support launching your application when the user clicked a notification. The associated action identifier is passed as a command-line argument.
Avalonia
The DesktopNotifications.Avalonia package offers support for the Avalonia project. It doesn't do much on its own, it just provides helpers to register
the INotificationManager with the application builder.
Help wanted
My MacBook Pro is 11 years old now and it does not run OSX Mojave or higher. Unfortunately, Apple deprecated NSUserNotificationCenter with OSX 10.14 and I suppose they want us to use the newer UNUserNotificationCenter API instead. I would kindly appreciate any contributions from folks that own a more modern Mac and are interested in implementing the OSX backend using the new API.
License
See License