GoogleApisForiOSComponents icon indicating copy to clipboard operation
GoogleApisForiOSComponents copied to clipboard

AdSizeCons SmartBannerPortrait throws Arg_NullReferenceException

Open kenneth-y opened this issue 2 years ago • 1 comments

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?

kenneth-y avatar Apr 11 '24 05:04 kenneth-y

Happening the same error on .Net iOS 8

zurtox avatar Apr 12 '24 18:04 zurtox