document.addEventListener('onRewardedVideoFinished', function(data) {
// some code xxxxxxxx
});
}
Can you please tell what i need to do and what's the correct way to catch the callbacks ? i contacted the appodeal Support and they told me to use setRewardedVideoCallbacks function and this plugin :
https://github.com/appodeal/appodeal-cordova-plugin.git
but i have a problem with this plugin so i used yours
Hello,
Can you please Help me i installed this plugin with ionic 3 and it worked for me to display the ad when i used this code
const appKey = 'xxxxxxx'; this.appodeal.initialize(appKey, this.appodeal.AD_TYPES.REWARDED_VIDEO); this.appodeal.show(this.appodeal.AD_TYPES.REWARDED_VIDEO);
but i have a problem with callbacks i tried this and it's not working :
this.appodeal.enableRewardedVideoCallbacks(true); this.registerAdEvents();
registerAdEvents(){
document.addEventListener('onRewardedVideoFinished', function(data) { // some code xxxxxxxx });
}
Can you please tell what i need to do and what's the correct way to catch the callbacks ? i contacted the appodeal Support and they told me to use setRewardedVideoCallbacks function and this plugin : https://github.com/appodeal/appodeal-cordova-plugin.git
but i have a problem with this plugin so i used yours
Thank you