BUG: MIH Ad Display Strategy

This commit is contained in:
2025-11-03 11:27:44 +02:00
parent 52f9eb7ba6
commit 1329c8aba4
9 changed files with 47 additions and 52 deletions

View File

@@ -28,6 +28,11 @@ class MihBannerAdProvider extends ChangeNotifier {
}
void loadBannerAd() {
if (bannerAd != null) {
bannerAd!.dispose();
bannerAd = null;
isBannerAdLoaded = false;
}
bannerAd = BannerAd(
adUnitId: adUnitId,
request: const AdRequest(),