Open diegoestacho999 opened 5 years ago
How to prevent an event from being triggered more than once? If I watch a video, it triggers an event, but when I see the second, it triggers the previous event, plus an event then how to prevent it?
@diegoestacho999 use this format:
this.admob.on("admob.rewardvideo.events.CLOSE").subscribe((data) => { / code to execute on CLOSE event here / }
This won't execute extra events.
How to prevent an event from being triggered more than once? If I watch a video, it triggers an event, but when I see the second, it triggers the previous event, plus an event then how to prevent it?