xamarin / GoogleApisForiOSComponents

MIT License
225 stars 156 forks source link

AdSizeCons SmartBannerPortrait throws Arg_NullReferenceException #654

Open kenneth-y opened 2 months ago

kenneth-y commented 2 months ago

Hi,

I have migrated my Xamarin iOS native app to .NET iOS 7 - all build and working fine on an iOS simulator but on a physical device, I'm seeing this exception trying to access the constant ad size SmartBannerPortrait.

Same error when using AdSizeCons.Banner.

Google.MobileAds.AdSizeCons.get_SmartBannerPortrait()

image


Is AdSizeCons still supported on the .NET iOS framework?

zurtox commented 2 months ago

Happening the same error on .Net iOS 8