Rewarded video ads issue of Reward Events using AdMobFree plugin

I’m using the cordova-Admob-free plugin for reward video ads. Everything is working perfectly. I’m facing the issue when user will watch the ad completely I’m using the event to check if the user watches the ad completely give it reward. But the issue is that when I’m using this event when ad completely watched ad is not closing this event hangs the ad. Close button not working on when ad completely watch. But when i comment this event then ad closing perfectly. Please help about it thanks,
document.addEventListener(‘’, () => {