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

Disappearing/Blank Ads -> Rendering API -> Banner API #746

Open
omertanveer opened this issue Apr 12, 2024 · 1 comment
Open

Disappearing/Blank Ads -> Rendering API -> Banner API #746

omertanveer opened this issue Apr 12, 2024 · 1 comment

Comments

@omertanveer
Copy link

Describe the bug
I am trying to do a basic implementation using the Rendering ApI -> Banner API as mentioned in the following link:
https://docs.prebid.org/prebid-mobile/modules/rendering/android-sdk-integration-pb.html

I am rendering the banner view in a recycler view, and the very first time it shows fine as expected.
But as soon as I send the app to the background and come back, the banner view for some reason just doesn't display anymore. The same problem also happens if I just scroll the recycler view, and then scroll back to the banner view.
It just doesn't show at all.

The only prebid logs that I can see happening in case when I send the app to the background and come back are as follow:
PrebidJsExecutor D evaluateJavaScript: mraid.onViewableChange(false);
PrebidWebViewCleanupRu D Unable to execute destroy on WebView. WebView is null.

The attached video shows the issue:
https://github.com/prebid/prebid-mobile-android/assets/3583890/ace0c27e-05f3-41b4-aa7f-79f8492d7776

I am using:
org.prebid:prebid-mobile-sdk-admob-adapters:2.2.0
com.google.android.gms:play-services-ads:23.0.0
Samsung SM-M315F Android version 12

Would be great if someone can shed some light on this.

@omertanveer omertanveer changed the title Rendering ApI -> Banner API Rendering API -> Banner API Apr 12, 2024
@omertanveer
Copy link
Author

Would be great if someone can shed some light here.
Also in the demos I am unable to find any example that is related to use of BannerView inside a Recycler View

@omertanveer omertanveer changed the title Rendering API -> Banner API Disappearing/Blank Ads -> Rendering API -> Banner API May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Clarify Request
Development

No branches or pull requests

1 participant