Skip to content

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

@omertanveer

Description

@omertanveer

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.

Metadata

Metadata

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions