PerformFetch iOS lifecycle delegate lacking an extension method #17960
Labels
area-core-lifecycle
XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events
i/great-reporter
This issue is opened by an author who is known to open high-quality issues
platform/iOS 🍎
t/bug
Something isn't working
Milestone
Description
This PR adds a
PerformFetch
override toMauiUIApplicationDelegate
, and adds it as an iOS lifecycle delegate.What it doesn't do is add it as extension method to iOSLifecycleBuilderExtensions. AFAIK, it's the only iOS lifecycle delegate that doesn't have a corresponding extension method.
This means you have to use the
AddEvent
method to consumePerformFetch
, which is a different pattern.At the same time,
PerformFetch
is actually deprecated on iOS (see https://developer.apple.com/documentation/uikit/uiapplicationdelegate/1623125-application), so maybe no time should be wasted here other than obsoleting it.Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
8.0.0-rc.1.9171
Is this a regression from previous behavior?
No, this is something new
Last version that worked well
Unknown/Other
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
Use
AddEvent
to consume thePerformFetch
iOS lifecycle delegate.Relevant log output
No response
The text was updated successfully, but these errors were encountered: