Closed mifkys closed 6 years ago
@mifkys it's a bad idea to call show method in onLoaded callback. Appodeal plugin tries to load an ad while your application is working. In most cases, users want to show interstitials or banners more than one time during a work session. So, that's why our plugin tries to load an ad immediately after you call show for loaded one. And callbacks should work for every single attempt to cache an advertisement (in another case you won't know anything about loading status). So, callback works for the first interstitial, for the second interstitial and so on. Your second "onLoad" means that second interstitial is ready to be shown. You can add some boolean variable to your algorithm (wasInterstitialShown, for example). Or you can disable auto cache (Appodeal.setAutoCache(Appodeal.BANNER, false)) and perform your own algorithm of caching.
It is a problem. Even AutoCache for INT ads already disabled (Appodeal.setAutoCache(Appodeal.INTERSTITIAL, false);
in code above) fullscreen banners loads after every shown event.
@mifkys can you share your apk?
I am working on app (Angular 2) with cordova-appodeal-plugin.
Initialization code:
This is console log:
info:
latest version of cordova-appodeal-plugin