xamarin / Xamarin.Forms

Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
https://aka.ms/xamarin-upgrade
Other
5.62k stars 1.87k forks source link

UWP only - Prism PageDialogService DisplayAlertAsync stopped working after version 4.4.0.981664.[Bug] #11492

Open rmgalante opened 4 years ago

rmgalante commented 4 years ago

Description

I am trying to upgrade my solution to the latest version of Xamarin Forms. I am using the Prism.Unity.Forms version 7.2.0.1422. The PageDialogService stopped working with Xamarin.Forms version 4.5+. I checked every version of Xamarin.Forms from v 4.7.0.1142 to 4.4.0.981664.

Version 4.4.0.981664 is the last version that shows an alert with this service.

Steps to Reproduce

  1. Load the demo application provided. Install version 4.4.0.981664 of Xamarin Forms.
  2. Run the demo. Click the button, Show Alert.
  3. You will see a modal alert with the message, "Increase Xamarin.Forms version past 4.4.0.981664, and this alert will not appear."
  4. Stop the demo.
  5. Install any version of Xamarin Forms v 4.5+.
  6. Run the demo. Click the button, Show Alert.
  7. The page goes modal, but the alert does not appear.

Expected Behavior

The alert should appear.

Actual Behavior

The alert does not appear.

Basic Information

Screenshots

Reproduction Link

Workaround

rmgalante commented 3 years ago

I installed the pre-release version of Xamarin Forms 5.0.1829-pre6. It has the same problem as reported in July 2020. I am stuck on Xamarin Forms version 4.4.0.981664.

I found the following thread, which reported the same issue. According to this thread, if you target Windows 10 version 1903, the problem goes away. So it looks like this problem is not going to be fixed for earlier versions of Windows 10.

https://github.com/xamarin/Xamarin.Forms/issues/9606

And the pre-release version of Xamarin Forms 5.0.1829-pre6 works as long as I target Windows 10 version 1903.