invertase / react-native-google-mobile-ads

React Native Google Mobile Ads enables you to monetize your app with AdMob.
https://docs.page/invertase/react-native-google-mobile-ads
Other
625 stars 121 forks source link

[📚] The ad is loading even if there is one instance loaded #574

Closed burakkbilginn closed 3 days ago

burakkbilginn commented 1 month ago

Documentation Feedback

Hi! I will be showing rewarded ads to the users. I have followed all the steps written inside the docs to display ads: #https://docs.page/invertase/react-native-google-mobile-ads/displaying-ads There is not any problem displaying the ads. But the problem is, when I change to another screen with tabs, where the screen doesn't get unmounted, the ad loads again and there becomes two instances of the ads loaded, which will lead to more internet usage for the users.

Is there a way to load the ads only once if one is already loaded?

Or this is how Admob should run? I mean, creating new instance for every new page?

github-actions[bot] commented 2 weeks ago

Hello 👋, to help manage issues we automatically close stale issues.

This issue has been automatically marked as stale because it has not had activity for quite some time.Has this issue been fixed, or does it still require attention?

This issue will be closed in 15 days if no further activity occurs.

Thank you for your contributions.