You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code works fine on Android phones, tablets and on iPhone devices, but there's wrong positioning on iPad:
Banner has wrong position at x axis. In logs we see that position has been set correctly:
UpdateBannerPosition (0.00, 1048.93) 2
And on banner show we log the result of MaxSDK's method MaxSdk.GetBannerLayout(adUnit): layout (x:0.00, y:1073.00, width:1165.00, height:90.00)
which is correct too. But visually this is false. Also if we try to position banner at (0,0) it's wrong too, banner has the same wrong offset at x.
Please check this behavior.
Reproducible in the demo app?
Not Tested
Additional Info
No response
The text was updated successfully, but these errors were encountered:
Hi @coffee-lady, some banner ads don't stretch the full width of the screen, so could you try either setting a fixed width for your banner, or changing your banner background to black? If you change the background color, even if the ad doesn't stretch the full width the background will show you the positioning of the banner. You can do these with MaxSdk.SetBannerBackgroundColor and MaxSdk.SetBannerWidth.
MAX Plugin Version
13.0.1
Unity Version
2022.3.45f1
Device/Platform Info
iPad
Current Behavior
We're experiencing wrong banner custom positioning (with (x,y) coords) on iPad devices.
Expected Behavior
No response
How to Reproduce
We're using API for banner positioning with (x,y) coordinates:
This code works fine on Android phones, tablets and on iPhone devices, but there's wrong positioning on iPad:
Banner has wrong position at x axis. In logs we see that position has been set correctly:
UpdateBannerPosition (0.00, 1048.93) 2
And on banner show we log the result of MaxSDK's method
MaxSdk.GetBannerLayout(adUnit)
:layout (x:0.00, y:1073.00, width:1165.00, height:90.00)
which is correct too. But visually this is false. Also if we try to position banner at (0,0) it's wrong too, banner has the same wrong offset at x.
Please check this behavior.
Reproducible in the demo app?
Not Tested
Additional Info
No response
The text was updated successfully, but these errors were encountered: