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

didHide event from MARewardedAdDelegate called before rewarded ad is dismissed #382

Open
MathisDetourbet opened this issue Oct 17, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@MathisDetourbet
Copy link

MathisDetourbet commented Oct 17, 2024

MAX SDK Version

1.13.0

Device/Platform Info

iOS 17.4

Current Behavior

When a rewarded ad has been closed by the user func didClick(_ ad: MAAd) of MARewardedAdDelegate is called while the ALAppLovinVideoViewController (the rewarded ad screen) is still in the view/navigation hierarchy.

Expected Behavior

As the naming says, didHide should be called when the rewarded ad is not in the view hierarchy anymore. The documentation also says that this event is send when "Rewarded ad is hidden." (https://developers.applovin.com/en/max/ios/overview/manual-integration#loading-a-rewarded-ad)

How to Reproduce

  1. show rewarded ad
  2. get rewarded
  3. close it by tapping on the cross button on the top right corner of the ad
  4. check the view hierarchy at this right moment

For now my temporary solution is to delay for 800ms next tasks. 300ms is not enough for instance. So we prefer avoiding doing that since we decrease UX

Reproducible in the demo app?

Not Tested

Additional Info

image (6)
here is a print after receiving the didHide event from the MARewardedAdDelegate

@MathisDetourbet MathisDetourbet added the bug Something isn't working label Oct 17, 2024
@MathisDetourbet MathisDetourbet changed the title didHide event from MARewardedAdDelegate called before rewarded ad dismissed didHide event from MARewardedAdDelegate called before rewarded ad is dismissed Oct 17, 2024
@maximilianbuck maximilianbuck self-assigned this Oct 18, 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
Projects
None yet
Development

No branches or pull requests

2 participants