Closed sksk008 closed 8 months ago
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
AdMob.addListener(InterstitialAdPluginEvents.Loaded, (info: AdLoadInfo) => { // Subscribe prepared interstitial console.log("adloaded") }); AdMob.addListener(InterstitialAdPluginEvents.Dismissed, ( ) => { // Subscribe prepared interstitial console.log("Dismissed") }); AdMob.addListener(InterstitialAdPluginEvents.Showed, ( ) => { // Subscribe prepared interstitial console.log("Showed") });
i am using test ad and i have list all 3 listener but whenever i click on close ad dismissed listener never called
Expected behavior should print adloaded Showed Dismissed
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context It is working perfect on android test device.
AdMob.addListener(InterstitialAdPluginEvents.Dismissed, ( ) => { this.zone.run(() => { console.log("Interstitial Dismissed"); }) });
i have already tried with NgZone but still not work.
it was my mistake after AdMob.showInterstitial() method i am immediately calling AdMob.prepareInterstitial() but i have to called this AdMob.prepareInterstitial() method after ad dismissed . i can figure out this mistake by this.
AdMob.showInterstitial()
AdMob.prepareInterstitial()
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
i am using test ad and i have list all 3 listener but whenever i click on close ad dismissed listener never called
Expected behavior should print adloaded Showed Dismissed
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context It is working perfect on android test device.