rotorgames / Rg.Plugins.Popup

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

[iOS] Rg.Plugins.Popup 2.0.0.14 : Null Reference Exception #708

Closed Phenek closed 2 years ago

Phenek commented 2 years ago

🐛 Bug Report

After updating Rg.plugin.popup, I got an null reference exception when loading the App at start up, on my Iphone X (iOS 15)

    at Rg.Plugins.Popup.IOS.Extensions.PlatformExtension.UpdateSize (Rg.Plugins.Popup.IOS.Renderers.PopupPageRenderer renderer) [0x00094] in /.../Rg.Plugins.Popup/Rg.Plugins.Popup/Platforms/Ios/Extensions/PlatformExtension.cs:66 
  at Rg.Plugins.Popup.IOS.Renderers.PopupPageRenderer.ViewDidLayoutSubviews () [0x00014] in /.../Rg.Plugins.Popup/Rg.Plugins.Popup/Platforms/Ios/Renderers/PopupPageRenderer.cs:117 
Screenshot 2021-10-21 at 12 31 14

Expected behavior

The null reference should be handled.

Reproduction steps

You can try to repoduce it by updating the Rg.Plugin.Popup to version 2.0.0.14 and use a Popup page at start up.

Configuration

Platform:

Thanks for your good repository!

LuckyDucko commented 2 years ago

@Phenek Good to close? Thanks for the help on this one 👍🏻

Phenek commented 2 years ago

Pleasure ;) Any 2.0.0.15 Release programmed?