[UWP] Popup does not exist in Rg.Plugins.Popup
melvyniandrag opened this issue ยท 5 comments
๐ Regression
Regression to this issue: #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:
- ๐ฑ iOS
- ๐ค Android
- ๐ WPF
- [ X] ๐ UWP
- ๐ MacOS
- ๐บ tvOS
- ๐ Xamarin.Forms
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"
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.
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());
Changing minimum UWP Version to 1809 solved it for me.
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.