Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

Commit

Permalink
Merge pull request #5 from FootballFederationAustralia/buildFix
Browse files Browse the repository at this point in the history
Fix build bug
  • Loading branch information
davidepalazzo authored Apr 11, 2018
2 parents b68529d + 5bf95be commit 72fc14b
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public class RNAdMobRewardedVideoAdModule extends ReactContextBaseJavaModule imp
public static final String EVENT_AD_LEFT_APPLICATION = "rewardedVideoAdLeftApplication";
public static final String EVENT_REWARDED = "rewardedVideoAdRewarded";
public static final String EVENT_VIDEO_STARTED = "rewardedVideoAdVideoStarted";
public static final String EVENT_VIDEO_COMPLETED = "rewardedVideoAdVideoCompleted";

RewardedVideoAd mRewardedVideoAd;
String adUnitID;
Expand Down Expand Up @@ -80,6 +81,11 @@ public void onRewardedVideoAdClosed() {
sendEvent(EVENT_AD_CLOSED, null);
}

@Override
public void onRewardedVideoCompleted() {
sendEvent(EVENT_VIDEO_COMPLETED, null);
}

@Override
public void onRewardedVideoAdLeftApplication() {
sendEvent(EVENT_AD_LEFT_APPLICATION, null);
Expand Down

0 comments on commit 72fc14b

Please sign in to comment.