sdkbox / issues

The issue tracker for SDKBOX
MIT License
4 stars 0 forks source link

AdMob smart banner size is not updated on screen orientation change #28

Open angelvet opened 7 years ago

angelvet commented 7 years ago

I'm using AdMob plugin within my cocos2d-x game.

It seems that plug-in doesn't support screen orientation change. When app started in portrait mode getCurrBannerHeight() returns 50dp and everything ok. After changing screen orientation into landscape getCurrBannerHeight ( ) returns correct size (32dp) but banner still has 50dp of height.

ghost commented 7 years ago

checking on this.

ghost commented 7 years ago

currently admob plugin can not handle screen orientation change:

image

How do u put the banner ? just use top banner ?

angelvet commented 7 years ago

I'm put it at the bottom "bottom_banner": { "width": 0, "height": 0, "type": "banner", "id": "*", "alignment": "bottom" }

Thanks for checking, are there any plans for supporting screen orientation change for smart banners?