Hi,
in our application we have some global x:Boolean DynamicResource that we use to show\hide some buttons along all the application.
We have updated from XF 4.8.0.1560 to 5.0.0.2083 and that DynamicResource doesn't update the UI anymore.
The value changes correctly but the UI value not changes.
This happens only on iOS devices.
The issue is present from the XF version 5.0.0.1931.
Up to version 5.0.0.1905 works fine.
I'm using the same verision of Xamarin.Essentials.
Steps to Reproduce
add a x:Boolean resource to the resourceDictionary in App.xaml
ex.<x:Boolean x:Key="MostraMenuDettaglioWo">False</x:Boolean>add a Button with a command that get and change the resource
ex:bool actual = (bool)Application.Current.Resources["MostraMenuDettaglioWo"]; Device.BeginInvokeOnMainThread(() => { Application.Current.Resources["MostraMenuDettaglioWo"] = !actual; });bind the resource to something in the XAML page
ex to the text button:<Button BackgroundColor="Red" Command="{Binding TestCommand}" Text="{DynamicResource MostraMenuDettaglioWo}" />
Expected Behavior
The value should be chage and also the UI value.
Actual Behavior
The value changes but not the UI value
Basic Information
Version with issue: 5.0.0.2083
Last known good version: 5.0.0.1905
Platform Target Frameworks:
iOS: tested on emulator iPhone with iOS 14.5 and on physical iPhone with iOS 14.6
Android: tested on Galaxy S10 with Android 11