Open elkhalifte opened 2 years ago
Banner ads are still getting impressions even if the app is in background mode. This issue will lead to admob limit (invalid traffic). I think you should resolve this by adding a lifecycle and then put banner ads in pause when the app is in background.
Can Native Ads
prevent this invalid traffic issue?
I encountered similar issue, I added a Banner Ads
in BottomNavigationBar
under SliverAppBar
with TabBar
. Due to Flutter limitation, the tabs get rebuilt every time when I switch tab, and this leads to admob limit (invalid traffic).
Does Flutter cache Native Ads
? I am thinking to switch to Native Ads
, but it this package doesn't support Native Ads for iOS.
i have implemented banner ads without the issue you mentioned. my banner ads does not get rebuilt when switching tabs or on setState.
and , yeah it well be nice to replace banner ads with native.
i have implemented banner ads without the issue you mentioned. my banner ads does not get rebuilt when switching tabs or on setState.
and , yeah it well be nice to replace banner ads with native.
My rebuilt issue only happens in SliverAppBar
with TabBar
.
Okay thanks, I will switch to native ads first, and might have to switch to google_mobile_ads
plugin in the future.
Maybe if they're not used in each tab, but below (or above) the whole TabBar
and TabBarView
, and above BottomNavigationBar
, just like the example app
@bdlukaa yes. Banner ads are totally working fine and don't get rebuild
Banner ads are still getting impressions even if the app is in background mode. This issue will lead to admob limit (invalid traffic). I think you should resolve this by adding a lifecycle and then put banner ads in pause when the app is in background.