AppLovin / AppLovin-MAX-Unity-Plugin

127 stars 35 forks source link

Wrong Screen.safeArea after showing ads #427

Open mkud opened 2 months ago

mkud commented 2 months ago

MAX Plugin Version

7.0.0

Unity Version

2022.3.37f1

Device/Platform Info

iPhone 12 mini, iOS 17.5.1

Current Behavior

After the ad is shown, the Screen.safeArea value becomes incorrect.

Expected Behavior

After the ad is shown, the Screen.safeArea value should not change.

How to Reproduce

Features of the application to reproduce the problem:

Reproducible in the demo app?

Not Tested

Additional Info

No response

JonathanLiuApp commented 2 months ago

Hi @mkud, this is a Unity + StoreKit bug where trying to show storekit in portrait in a landscape only app causes this issue. Setting the extra parameter pisw should help for AppLovin ads. (related thread: https://github.com/AppLovin/AppLovin-MAX-Unity-Plugin/issues/362). However, for other ads you would need to raise the issue with the relevant network.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 30 days with no activity.