Replies: 1 comment 3 replies
|
Hi, Avalonia labs has this feature. https://github.com/AvaloniaUI/Avalonia.Labs/tree/main/src/Avalonia.Labs.Notifications |
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm trying to configure push notification features for my cross-platform app. Avalonia does not have an implementation of this, but I found a MAUI guide. The problem is this requires overriding of
FinishedLaunchingon theAppDelegate, which theAvaloniaAppDelegatedoes not allow.I am considering forking Avalonia so I can implement this directly in the
FinishedLaunchingmethod, but I suspect maintaining a custom fork is the wrong choice.Alternately, I am attempting to implement the
IUNUserNotificationCenterDelegateinterface on theAppDelegatebut still have no access to theFinishedLaunchingto add theRequestAuthorizationcall.If anyone has a guide that I may have missed for implementing notification services (iOS and/or Android), or any advice on this, it would be greatly appreciated.
All reactions