AdMob Ads disappears with barcode scanner

Hi all,
I’m creating a little android app with ads (GitHub - capacitor-community/admob: Community plugin for using Google AdMob) and barcode scanner (GitHub - capacitor-community/barcode-scanner: A fast and efficient (QR) barcode scanner for Capacitor)
I’m using capacitor v3.
I have a issue that I cannot fix.
The test ads is showing correctly but once I call the barcode scanner it disappear.
This is ok because the barcode scanner makes webview transparent with the method hideBackground()
When I stop the scan and call the showBackgroundMethod(), the ads makes a little flicker and disappear.
From the log the ads is loaded but seems not visible.
Someone knows how to fix it?

1 Like