merbin2012 / cordova-plugin-codeplay-facebookads-free

Free facebook audience network ads for cordova user. This supports banner ads, Interstitial ads and video ads.
23 stars 9 forks source link

Reward and Interstitial ads bug fixes and improvements #18

Closed kapilsriram closed 3 years ago

kapilsriram commented 3 years ago

Hi here are few updates I made.

  1. The reward video ads were being auto played, when they are loaded, i.e before a showRewardVideoAd() request is made. So I have fixed this issue.
  2. I have replaced success methods in the loadRewardVideoAd() with events method, which actually triggers during events such as "AdLoaded", "AdClosed", "AdPlaying" "AdClicked" and "AdCompleted".
  3. Same thing with loadInterstitialAds() method, it has the following events "AdLoaded", "AdClosed", "AdDisplayed", "AdClicked", and "AdLogged".

I have been using all these changes since last 2 months in my app. So everything is working fine without issues.

sansopheakh commented 3 years ago

Hi here are few updates I made.

  1. The reward video ads were being auto played, when they are loaded, i.e before a showRewardVideoAd() request is made. So I have fixed this issue.
  2. I have replaced success methods in the loadRewardVideoAd() with events method, which actually triggers during events such as "AdLoaded", "AdClosed", "AdPlaying" "AdClicked" and "AdCompleted".
  3. Same thing with loadInterstitialAds() method, it has the following events "AdLoaded", "AdClosed", "AdDisplayed", "AdClicked", and "AdLogged".

I have been using all these changes since last 2 months in my app. So everything is working fine without issues.

Good job. Thank you brother.