From abe7193eb19a631d6e55f6d854e2776680e08e89 Mon Sep 17 00:00:00 2001 From: marrisaichandan Date: Tue, 27 Dec 2022 15:25:50 +0530 Subject: [PATCH] reward failed ad loading close --- adutils/src/main/java/com/appyhigh/adutils/AdSdk.kt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/adutils/src/main/java/com/appyhigh/adutils/AdSdk.kt b/adutils/src/main/java/com/appyhigh/adutils/AdSdk.kt index e9177ab..a8bcdcf 100644 --- a/adutils/src/main/java/com/appyhigh/adutils/AdSdk.kt +++ b/adutils/src/main/java/com/appyhigh/adutils/AdSdk.kt @@ -2324,6 +2324,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError,ad) } } @@ -2349,6 +2350,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError,ad) } } @@ -2398,6 +2400,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError, ad) } } @@ -2427,6 +2430,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError, ad) } } @@ -2484,6 +2488,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError,ad) } } @@ -2509,6 +2514,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError,ad) } } @@ -2558,6 +2564,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError, ad) } } @@ -2587,6 +2594,7 @@ object AdSdk { adError: LoadAdError?, ad: RewardedAd? ) { + dismissAdLoaderLayout(activity) rewardedAdUtilLoadCallback?.onAdFailedToLoad(adError, ad) } }