AdMob smart banner size erroneous on ios

Hi dear sdkbox devs,
i use admob banner width sdkbox 2.2.2.12 on iphone5s simulator and the 320x50 smart banner returned by google is auto scaled by sdkbox (which is a good point) but the functions sdkbox::PluginAdMob::getCurrBannerWidth() and sdkbox::PluginAdMob::getCurrBannerHeight() still return 320x50 which does not match with the displayed scaled size (640x100 on iphone5s)

Could you correct this please?

Thank you!

Let’s check it.

issue remains in sdkbox 2.2.3.5.

tested some cases with iPhone 5s / iOS 8.4

                    "width":300,
                    "height":50

=>

current banner size: width=300 height=50
                    "width":0,
                    "height":50

=>

current banner size: width=568 height=50
                    "width":0,
                    "height":0

=>

current banner size: width=568 height=32

What’s your config ?

I use smart ads so “width”:0, “height”:0, “alignment”:“bottom”.
My simulator is set to iphone5s iOS 9.3 but the issue is still here with iOS8.4.
I use the simulator with portrait (vertical) orientation.

OK, I got the issue.

Let’s add two API for this:

sdkbox::PluginAdMob::getCurrBannerWidthInPixel();
sdkbox::PluginAdMob::getCurrBannerHeightInPixel();

Thank you!

Any news on this?
I’m having a similar issue.

sdkbox::PluginAdMob::getCurrBannerWidth()
sdkbox::PluginAdMob::getCurrBannerHeight()

Always return 320, 50. No matter what size I set in the sdkbox_config.json smart or not.

The new API methods

sdkbox::PluginAdMob::getCurrBannerWidthInPixel();
sdkbox::PluginAdMob::getCurrBannerHeightInPixel();

are still missing (admob v2.2.4.14).

EDIT:
Updated AdMob to v2.2.5.3 admob and found the methods. Banner still does not react to config size changes.