EMI-INDO / emi-indo-cordova-plugin-admob

Cordova Plugin Admob Android | IOS
ISC License
13 stars 2 forks source link

I can't show de banner again after remove it. #16

Closed sergip76 closed 5 months ago

sergip76 commented 9 months ago

Bug report

Current behavior:

2) Showing directly the banner: cordova.plugins.emiAdmobPlugin.showBannerAd();

Expected behavior:

Environment information

Runtime issue

Android build issue:

EMI-INDO commented 9 months ago

@sergip76

After you delete it, you don't need to reload it, just display it.

sergip76 commented 9 months ago

@sergip76

After you delete it, you don't need to reload it, just display it.

I have just tried your example in a clean app using only that code and the behavior is the same. Banner is loaded and shown correctly but It's not possible to show de banner after remove it (with or without loading it again).

EMI-INDO commented 9 months ago

@sergip76

Update the plugin to @1.3.9

See if it works

Note Release

boazn0 commented 6 months ago

I'm using emi-indo-cordova-plugin-admob 1.3.9 "emiAdmobPlugin" And have the same problem after cordova.plugins.emiAdmobPlugin.removeBannerAd(); The " cordova.plugins.emiAdmobPlugin.showBannerAd() " Don't show the banner

emi415064 commented 6 months ago

@boazn0

New api loadBannerAd();

https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/blob/main/example/banner_ads.html

boazn0 commented 6 months ago

@boazn0

New api loadBannerAd();

https://github.com/EMI-INDO/emi-indo-cordova-plugin-admob/blob/main/example/banner_ads.html

I add the loadBannerAd(); but still not always the banner is shown I think sometimes it is not enough to load the banner that fast, is there a way to wait and make sure the banner is loaded?

EMI-INDO commented 6 months ago

@boazn0

Sorry, I'll check now.

EMI-INDO commented 6 months ago

@sergip76 @boazn0

Bug fix