App.Current.RequestedThemeChanged never fires #11005
Labels
area-core-lifecycle
XPlat and Native UIApplicationDelegate/Activity/Window lifecycle events
area-theme
Themes, theming
fixed-in-7.0.81
Look for this fix in 7.0.81!
fixed-in-7.0.92
Look for this fix in 7.0.92!
fixed-in-7.0.100
fixed-in-7.0.101
fixed-in-8.0.0-preview.3.8149
Look for this fix in 8.0.0-preview.3.8149!
platform/android 🤖
platform/iOS 🍎
t/bug
Something isn't working
Milestone
Description
I am trying to subscribe to system theme changes as per the docs here : https://learn.microsoft.com/en-us/dotnet/maui/user-interface/system-theme-changes
The event never fires.
We don't use AppThemeBinding for our theming so we want to be able to react to Light / Dark mode changes using this event.
Steps to Reproduce
Create a new MAUI app. Subscribe to the event in App.Xaml.cs and set a breakpoint.
The breakpoint is never hit.
Link to public reproduction project repository
No need, just do a new app
Version with bug
7.0 Release Candidate 2
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android
Affected platform versions
Android 11
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: