I'm working on an app for UWP, Android, and iOS using Xamarin.Forms.
I just started testing on my iPhone 8 which is set to dark mode and noticed that text in the ListView controls is not visible. The ListView is bound to an ObservableCollection and the custom data template has 2 label controls in a grid. I don't have any color information specified in the XAML, just using defaults. But on the iPhone with dark mode, the list background is black and the text is apparently black as I can't see it. If I switch my iPhone back to light theme I can read the text.
Note that the other controls in the view (outside the list) do not have any problems. I'm using both labels and buttons and they are all readable. Its just the list view which has a black background and the labels within the list view (in the custom data template) apparently have black text on a black background.
My hope would have been that with defaults (no color info set in the XAML) the result would be readable without me having to do anything. Its looking like I will need to have some sort of platform specific code which is also sensitive to theme and then add conditional coloring based on that.
Anyone know of the best, simplest, cross-platform way to achieve this? I'm guessing this will also be an issue for "dark" android and UWP though I haven't tested those.