-
Notifications
You must be signed in to change notification settings - Fork 74
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
"Can not load another ad while the ad is showing" when top view controller is dismissed behind the interstitial #343
Comments
I have also found out that this behaviour depends on added mediation pods. If I use pure applovin sdk then everything works.
At least Pangle test ad is not properly closed. |
@gerchicov-vg - Ad view controllers are not meant to be programmatically dismissed by the developers even when the app is backgrounded. This should be left to the discretion of the ad SDK. Doing so will result in unexpected behaviour, as you've observed. |
@thomasmso Why did you immediately close this ticket? It is not resolved. And I just call |
@gerchicov-vg - you mentioned "4)dismiss view controller programmatically", so you are saying you aren't dismissing the view controller programmatically now? |
@thomasmso I present my own view controller, then I call |
@gerchicov-vg - I see. And you claim that without other ad networks integrated, there were no issues. And you've reproduced it with at least Pangle ads. ok - let us investigate further on Pangle ads - at the end of the day, their SDK should be able to gracefully handle this condition. But we can reach out to them for this bug as well. |
@thomasmso
In Obj-C they called So do you suggest to avoid dismissing any of my own view controllers when the interstitial ad presented? It looks strange but at least |
@gerchicov-vg - we don't have access to the mediated network's view controller so we can't return that to you when showing. The solution here would be to not update the navigation stack when an ad is showing - operationally it will be nearly impossible to have all ad networks MAX supports support this case. You'll know when an ad is showing and hidden via our |
This issue is stale because it has been open for 30 days with no activity. |
MAX SDK Version
12.1.0 - 12.5.0
Device/Platform Info
iOS 15+
Current Behavior
App dismissed the top view when enters background. If an interstitial ad is currently displayed it becomes hidden but remains in memory and app can't show interstitial ads anymore because of "Can not load another ad while the ad is showing"
Expected Behavior
SDK allows to load another ad or you could provide methods to cleanup the closed ad manually.
How to Reproduce
1)present view controller
2)show interstitial
3)enter background
4)dismiss view controller programmatically
Additional Info
No response
The text was updated successfully, but these errors were encountered: