iOS AppDelegate - Overrides for handling remote notifications not available #23451
Labels
area-core-lifecycle
XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events
partner
Issue or Request from a partner team
platform/iOS 🍎
proposal/open
t/bug
Something isn't working
t/enhancement ☀️
New feature or request
Milestone
Description
In Xamarin.Forms, the following UIApplicationDelegate methods could be overridden on
FormsApplicationDelegate
.These methods aren't exposed in
MauiUIApplicationDelegate
alongside with other UIApplicationDelegate methods likeFinishedLaunching
,OpenUrl
, andPerformFetch
. The methods must be directly exported instead.As was the case with the more recently added
PerformFetch
method (#7957 - iOS AppDelegate - Override for PerformFetch is not available), this may also be a candidate for inclusion as part ofConfigureLifecycleEvents
.Steps to Reproduce
RegisteredForRemoteNotifications
andReceivedRemoteNotification
methods on iOS (AppDelegate)Link to public reproduction project repository
No response
Version with bug
8.0.61 SR6.1
Is this a regression from previous behavior?
Yes, this used to work in Xamarin.Forms
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
Directly export the requisite methods in the AppDelegate class.
Relevant log output
No response
The text was updated successfully, but these errors were encountered: