I'm using on xamarin forms and on Android and iOS, and both when phone is using dark theme, it changes in order to use the same theme. But When I run app on UWP, xamarin forms work with Light theme, always. Could you tell me how to force to use dark theme? I have tried to set manually the dark theme on constructor of App.cs (UWP) as I do on native UWP apps, but it is setted but Xamarin forms continue working with Light theme. Any idea?
Steps to reproduce it.
- Create a MasterDetail template
On constructor of App.cs of UWP, added the following line: "RequestedTheme = Windows.UI.Xaml.ApplicationTheme.Dark;"
Execute app and: iOS menu and status bar is dark. Android 10, menu and status bar is dark (tried on realme). Windows 10, menu is White.
Thank you