Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Screen.safeArea after showing ads #427

Open
mkud opened this issue Sep 19, 2024 · 2 comments
Open

Wrong Screen.safeArea after showing ads #427

mkud opened this issue Sep 19, 2024 · 2 comments
Assignees
Labels
bug Something isn't working stale This isue has been inactive

Comments

@mkud
Copy link

mkud commented Sep 19, 2024

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

  • Start showing ads (rewarded ads)
  • During the ad, go to the store.
  • After the ad has finished showing, the Screen.safeArea value has changed

Features of the application to reproduce the problem:

  • Auto rotation. Restricted to Landscape Left and Right
  • attached networks - Facebook, Liftoff, Mintegral, Unity Ads
  • does not recover after autorotate

Reproducible in the demo app?

Not Tested

Additional Info

No response

@mkud mkud added the bug Something isn't working label Sep 19, 2024
@JonathanLiuApp
Copy link
Contributor

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: #362). However, for other ads you would need to raise the issue with the relevant network.

Copy link

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

@github-actions github-actions bot added the stale This isue has been inactive label Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale This isue has been inactive
Projects
None yet
Development

No branches or pull requests

2 participants