From 76d1478bf2cb685b40e13039d1fb5147057657fd Mon Sep 17 00:00:00 2001 From: Akshit Garg Date: Mon, 28 Nov 2022 17:01:05 +0530 Subject: [PATCH] Changes for CPRA --- InMobi/InMobiAdapter/ALInMobiMediationAdapter.m | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/InMobi/InMobiAdapter/ALInMobiMediationAdapter.m b/InMobi/InMobiAdapter/ALInMobiMediationAdapter.m index d2fe69edd7..e7e28ec6d3 100644 --- a/InMobi/InMobiAdapter/ALInMobiMediationAdapter.m +++ b/InMobi/InMobiAdapter/ALInMobiMediationAdapter.m @@ -455,6 +455,14 @@ - (BOOL)showFullscreenAd:(IMInterstitial *)interstitial forParameters:(id= 61100 ) + { + NSNumber *isDoNotSell = [self privacySettingForSelector: @selector(isDoNotSell) fromParameters: parameters]; + if ( isDoNotSell ) + { + [extras setObject: isDoNotSell forKey: @"do_not_sell"]; + } + } return extras; }