From 9794aa2c032edd15325b213cef2c457d50c4223a Mon Sep 17 00:00:00 2001 From: Svintaj Date: Mon, 22 Sep 2025 14:43:38 +0200 Subject: [PATCH 1/3] Update AdMobEx.java Fix for missing RewardedInterstitial-close-event on Android. --- dependencies/admob/src/com/byrobin/admobex/AdMobEx.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dependencies/admob/src/com/byrobin/admobex/AdMobEx.java b/dependencies/admob/src/com/byrobin/admobex/AdMobEx.java index a00c051..7358f8e 100755 --- a/dependencies/admob/src/com/byrobin/admobex/AdMobEx.java +++ b/dependencies/admob/src/com/byrobin/admobex/AdMobEx.java @@ -536,6 +536,10 @@ else if(ad instanceof RewardedAd) { ((RewardedAd) ad).setFullScreenContentCallback(wrapper); } + else if(ad instanceof RewardedInterstitialAd) + { + ((RewardedInterstitialAd) ad).setFullScreenContentCallback(wrapper); + } } @SuppressWarnings("unused") /* Called from Haxe */ From b3c563df2a950ff64101e19efc2f798c449ee0d8 Mon Sep 17 00:00:00 2001 From: Svintaj Date: Mon, 22 Sep 2025 14:49:52 +0200 Subject: [PATCH 2/3] Update AdMobEx.mm Fix for missing RewardedInterstitial-close-event on iOS --- project/ios/AdMobEx.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/project/ios/AdMobEx.mm b/project/ios/AdMobEx.mm index 3474223..1435314 100755 --- a/project/ios/AdMobEx.mm +++ b/project/ios/AdMobEx.mm @@ -804,6 +804,10 @@ void setFullScreenContentCallback(int adRef, AutoGCRoot* callbacks) AdmRewarded *rewarded = (AdmRewarded*) ad; [rewarded setFullScreenContentCallback:[[AdmFullScreenContent alloc] initWithCallbacks:callbacks]]; } + else if([ad isKindOfClass:[AdmRewardedInterstitial class]]) { + AdmRewardedInterstitial *rewardedInterstitial = (AdmRewardedInterstitial*) ad; + [rewardedInterstitial setFullScreenContentCallback:[[AdmFullScreenContent alloc] initWithCallbacks:callbacks]]; + } } void clearReference(int ref) From d79dd1148b953eede153adaccd56fd727ccb6b44 Mon Sep 17 00:00:00 2001 From: Svintaj Date: Mon, 22 Sep 2025 14:56:11 +0200 Subject: [PATCH 3/3] Update AdMobEx.mm Corrected text formatting --- project/ios/AdMobEx.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/ios/AdMobEx.mm b/project/ios/AdMobEx.mm index 1435314..aae594f 100755 --- a/project/ios/AdMobEx.mm +++ b/project/ios/AdMobEx.mm @@ -805,8 +805,8 @@ void setFullScreenContentCallback(int adRef, AutoGCRoot* callbacks) [rewarded setFullScreenContentCallback:[[AdmFullScreenContent alloc] initWithCallbacks:callbacks]]; } else if([ad isKindOfClass:[AdmRewardedInterstitial class]]) { - AdmRewardedInterstitial *rewardedInterstitial = (AdmRewardedInterstitial*) ad; - [rewardedInterstitial setFullScreenContentCallback:[[AdmFullScreenContent alloc] initWithCallbacks:callbacks]]; + AdmRewardedInterstitial *rewardedInterstitial = (AdmRewardedInterstitial*) ad; + [rewardedInterstitial setFullScreenContentCallback:[[AdmFullScreenContent alloc] initWithCallbacks:callbacks]]; } }