Skip to content
This repository has been archived by the owner on Mar 12, 2022. It is now read-only.

Banner ads issue #121

Open
elkhalifte opened this issue Dec 16, 2021 · 5 comments
Open

Banner ads issue #121

elkhalifte opened this issue Dec 16, 2021 · 5 comments

Comments

@elkhalifte
Copy link

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.

@EternalYouth29
Copy link

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.

@elkhalifte
Copy link
Author

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.

@EternalYouth29
Copy link

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.

@bdlukaa
Copy link
Owner

bdlukaa commented Jan 17, 2022

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

@elkhalifte
Copy link
Author

@bdlukaa yes.
Banner ads are totally working fine and don't get rebuild

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants