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
I am trying to use the AdMob plugin to show reward videos. I need to handle the onAdPresent() event to know if the reward video has been viewed. I see the video, however, this event doesn't get called if I subscribe to it as follows: AdMob.onAdPresent().subscribe(val => console.log("onAdPresent(): " + val);
Doing it this way works: document.addEventListener('onAdPresent', val => console.log("onAdPresent(): " + val));
I have also tried subscribing to all other events using the first method, as well as for different types of ads (banner, interstitial), and they don't get fired either.
The text was updated successfully, but these errors were encountered:
Hi.
I am trying to use the AdMob plugin to show reward videos. I need to handle the onAdPresent() event to know if the reward video has been viewed. I see the video, however, this event doesn't get called if I subscribe to it as follows:
AdMob.onAdPresent().subscribe(val => console.log("onAdPresent(): " + val);
Doing it this way works:
document.addEventListener('onAdPresent', val => console.log("onAdPresent(): " + val));
I have also tried subscribing to all other events using the first method, as well as for different types of ads (banner, interstitial), and they don't get fired either.
The text was updated successfully, but these errors were encountered: