AppLovin / AppLovin-MAX-Unity-Plugin

130 stars 35 forks source link

BottomCenter have no padding #272

Closed rzer closed 1 year ago

rzer commented 1 year ago

MAX Plugin Version

11.11.1

Unity Version

2021.3.22

Device/Platform Info

Android 10, MI9

Current Behavior

Position BannerPosition.BottomCenter have no gap between screen border and banner. I use the same code for placing banners in two different projects. Two screenshots in attachments:

First one: Applovin 11.4.2 - It have gap between screen and banner. Second One: Applovin 11.11.1 - it have no gap.

I tried to set custom position by x,y coordinates, but cannot understand how to calculate right position with offset for all devices in this case.

TopCenter position moved slightly down to be in safe area. So it have some safe area but only at top of the screen.

Expected Behavior

No response

How to Reproduce

MaxSdk.CreateBanner(adUnitId, MaxSdkBase.BannerPosition.BottomCenter);

Additional Info

Screenshot_1 Screenshot_2

rzer commented 1 year ago

Today I've added more Mediated Networks and problem was gone. I had two: UnityAds, Yandex - and banner stuck to the edge.

After adding Facebook, InMobi, MyTarget, Mintegral, IronSource the banner started showing correctly.