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

Interstitial dismissed before Webview opened #62

Closed
maximou4391 opened this issue Jun 4, 2021 · 4 comments
Closed

Interstitial dismissed before Webview opened #62

maximou4391 opened this issue Jun 4, 2021 · 4 comments

Comments

@maximou4391
Copy link

Hello,
We have a problem when using showWithAutoDismissDelay on Android (sdk version 7.13.1),
we put the following:
iav.setCloseButtonDelay(0); iav.showWithAutoDismissDelay(7); iav.setDismissOnClick(true);

when user click on the ad for some reason the ad is destroyed after the click and then few seconds after only the webview is displayed.

Is there a way to not have the ad disappearing and show the webview only when ready?

Knowing on the collasped callback we did that:
`@Override
public void onAdCollapsed(AdView iav) {
// Interstitial closed, the advertisement needs to be destroyed to avoid memory leak
iav.destroy();
Timber.d("Xandr Interstitial collapsed");

        }`

What would be the reason of the ad being destroyed before the actual clicked link is displayed in the webview?
Thanks a lot in advance,
Regards,
Maxime.

@avohraa
Copy link
Contributor

avohraa commented Jun 18, 2021

@maximou4391

We tried replicating the issue described here, but couldn't.

Please provide more info, such as the placement / creative (that you are using), and maybe a screen recording of the issue that you are facing, with replication steps.

@maximou4391
Copy link
Author

Hello @avohraa ,
Thanks for your reply!

placement is "interstitial" in debug mode in Android

interstitial

You can see here that I click on the interstitial some seconds after it appeared. And there is a delay between when the interstitial is dismissed and the webview is loaded.

Regards,

Maxime.

@avohraa
Copy link
Contributor

avohraa commented Jul 1, 2021

This has been addressed in the latest release - https://github.com/appnexus/mobile-sdk-android/releases/tag/7.15

Closing it out. Feel free to reopen in case of an issue.

@avohraa avohraa closed this as completed Jul 1, 2021
@maximou4391
Copy link
Author

Awesome @avohraa I will check that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants