capacitor-community / admob

Community plugin for using Google AdMob
MIT License
213 stars 66 forks source link

Banner in landscape view #213

Closed chidav77 closed 1 year ago

chidav77 commented 1 year ago

The feature regards the landscape view. When I turn the phone from portrait to landscape, the banner doesnt change size and stays at the top/bottom left leaving a lot of space without nothing.

distante commented 1 year ago

You have to manually change that in your code, reacting to orientation changes and calling a new banner.

chidav77 commented 1 year ago

I did it. I called the removeBanner and then the add banner, but stay the same.... Did I miss something? Do you have an example?

distante commented 1 year ago

We do not have hard control about the size of the banner really. If you are using the correct size config, then admob returns what is available.