Avalonia.Labs icon indicating copy to clipboard operation
Avalonia.Labs copied to clipboard

macOS - Avalonia.Labs.Notifications - app crash

Open viktorspacil opened this issue 8 months ago • 1 comments

Hi, I tried to use Avalonia.Labs.Notifications nuget (v11.2.0) in my app but I am getting app crashed after calling notification.Show(), see crash report in the attachment. Am I missing something?

crash.txt

viktorspacil avatar Apr 14 '25 07:04 viktorspacil

I believe this will happen on the first run and if you have not allowed your app to show notifications on macOS. Usually when a new app shows its first notification there should be a prompt for the user to allow the app to show notifications or not. I didn't get this prompt either, but the Settings window popped up, and after enabling notifications for "Avalonia.Labs.Catalog.Desktop" (Samples app), everything worked fine. But the very first run, before allowing notifications, it crashed for me too.

manijak avatar Jun 04 '25 11:06 manijak