rotorgames / Rg.Plugins.Popup

Xamarin Forms popup plugin
MIT License
1.15k stars 336 forks source link

[UWP] Popup does not exist in Rg.Plugins.Popup #739

Open melvyniandrag opened 2 years ago

melvyniandrag commented 2 years ago

🔙 Regression

Regression to this issue: https://github.com/rotorgames/Rg.Plugins.Popup/issues/695

Old (and correct) behavior

See above

Current behavior

See above

Reproduction steps

Update Xamarin Forms and Rg Plugins to the latest as of June 9th 2022, then

                Rg.Plugins.Popup.Popup.Init();
                Xamarin.Forms.Forms.Init(e, Rg.Plugins.Popup.Popup.GetExtraAssemblies());

Configuration

Rg Plugins: 2.1.0 Xamarin Forms: 2.0.0.2478

Platform:

rpetersonfujitsu commented 2 years ago

In my UWP project settings, I had to update the minimum target version to 1903 (build 18362) in order for it to get the correctly assembly with Rg.Plugins.Popup.Popup.

Also, there's typo in your post: "Xamarin Forms: 2.0.0.2478" Should be: "Xamarin Forms: 5.0.0.2478"

RobbiewOnline commented 2 years ago

Same issue here.

My minimum was 10.0.17763.0 but had to change to 10.0.18362.0

I'm not sure how much of an impact that has on who I distribute the Windows UWP app to, but it would be great to lower the minimum spec if Rg.Plugins.Popup doesn't really need the higher minimum version?

Kind regards, Rob.

exendahal commented 1 year ago

I have UWP target version to 19041, Rg.popup 2.0.0.13 and Xamarin.Forms 5.0.0.2515 installed. I am running without any issues. Also, ensure you add the following lines of code on OnLaunched method under App.xaml.cs file.

Rg.Plugins.Popup.Popup.Init();
Xamarin.Forms.Forms.Init(e, Rg.Plugins.Popup.Popup.GetExtraAssemblies());
Buzzker commented 10 months ago

Changing minimum UWP Version to 1809 solved it for me.

melvyniandrag commented 9 months ago

Hello everyone thanks for the info. Forgot to reply that your solutions solved the issue for me.

I just had the issue again and sure enough I had to bump my uwp min version again! I thought it funny when I found the ticket and it was me who opened it over a year ago.

Hate to require a windows updates to use my simple app. Could be an old pc in the factory offline that we sideload the app on. Sucks it might stop working.