You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to load the banner, without showing it?
Here is my issue: One of the views of my app has a banner. I show it with AdMob.showBanner(options). However, if the user navigates away from the view quickly enough, the banner shows up in another view, where it is not supposed to.
I assume that after calling .showBanner(), the module sends request for an ad and then displays it as soon as it loads. However, the view might already navigate away at that point. Is there a way to load the banner, without showing it? Similar to .prepareRewardVideoAd() and .showRewardVideoAd().
The text was updated successfully, but these errors were encountered:
Thank you, for the suggestion. I do use hide and show methods to control the banner display between different views. They work well for their purpose, however my issue is different.
I probably didn't explain my issue clearly, for which I apologize. The hide method works well if the banner is loaded, but not during the very first call of .showBanner(). Here is a pseudo sequence as an example. Lets say a banner should be seen in view A, but not in view B.
View A is opened
AdMob.showBanner(options)
User clicks a button to open view B
View B is opened
AdMob.hideBanner()
Banner loads and shows on screen
The hide method doesn't work in this scenario, since the banner is not loaded yet.
Is there a way to load the banner, without showing it?
Here is my issue: One of the views of my app has a banner. I show it with
AdMob.showBanner(options)
. However, if the user navigates away from the view quickly enough, the banner shows up in another view, where it is not supposed to.I assume that after calling
.showBanner()
, the module sends request for an ad and then displays it as soon as it loads. However, the view might already navigate away at that point. Is there a way to load the banner, without showing it? Similar to.prepareRewardVideoAd()
and.showRewardVideoAd()
.The text was updated successfully, but these errors were encountered: