Removed GDPR implementation
MODIFY
adapters/Vungle/Public/Headers/VungleAdNetworkExtras.h
adapters/Vungle/Public/Headers/VungleAdNetworkExtras.h
#import <GoogleMobileAds/GADAdNetworkExtras.h>
-typedef NS_ENUM(NSInteger, VungleExtrasConsentStatus) {
- VungleExtrasConsentAccepted = 1,
- VungleExtrasConsentDenied
-};
-
@interface VungleAdNetworkExtras : NSObject<GADAdNetworkExtras>
/*!
@@ -34,6 +29,4 @@ typedef NS_ENUM(NSInteger, VungleExtrasConsentStatus) {
@property(nonatomic, copy) NSString *_Nullable playingPlacement;
-@property(nonatomic, assign) VungleExtrasConsentStatus consentStatus;
-
@end

MODIFY
adapters/Vungle/VungleAdapter/GADMAdapterVungleInterstitial.m
adapters/Vungle/VungleAdapter/GADMAdapterVungleInterstitial.m
}]];
return;
}
- [vungleHelper updateConsentStatus:[_connector networkExtras]];
waitingInit = YES;
[[vungleHelper sharedInstance] initWithAppId:appId];
}];

MODIFY
adapters/Vungle/VungleAdapter/GADMAdapterVungleRewardBasedVideoAd.m
adapters/Vungle/VungleAdapter/GADMAdapterVungleRewardBasedVideoAd.m
userInfo:error]];
return;
}
- [vungleHelper updateConsentStatus:[_connector networkExtras]];
waitingInit = YES;
[[vungleHelper sharedInstance] initWithAppId:appId];
}];

MODIFY
adapters/Vungle/VungleAdapter/vungleHelper.h
adapters/Vungle/VungleAdapter/vungleHelper.h
@@ -26,7 +26,6 @@ typedef void (^ParameterCB)(NSDictionary *error, NSString *appId);
result:(ParameterCB)result;
+ (NSString *)findPlacement:(NSDictionary *)serverParameters
networkExtras:(VungleAdNetworkExtras *)networkExtras;
-+ (void)updateConsentStatus:(VungleAdNetworkExtras *)networkExtras;
- (void)initWithAppId:(NSString *)appId;
- (BOOL)playAd:(UIViewController *)viewController
delegate:(id<VungleDelegate>)delegate

MODIFY
adapters/Vungle/VungleAdapter/vungleHelper.m
adapters/Vungle/VungleAdapter/vungleHelper.m
@@ -104,13 +104,6 @@ static NSString *const kPlacementID = @"placementID";
return ret;
}
-+ (void)updateConsentStatus:(VungleAdNetworkExtras *)networkExtras {
- if (networkExtras.consentStatus == VungleExtrasConsentAccepted)
- [[VungleSDK sharedSDK] updateConsentStatus:VungleConsentAccepted];
- else if (networkExtras.consentStatus == VungleExtrasConsentDenied)
- [[VungleSDK sharedSDK] updateConsentStatus:VungleConsentDenied];
-}
-
- (void)addDelegate:(id<VungleDelegate>)delegate {
if (delegate && ![_delegates containsObject:delegate]) {
[_delegates addObject:delegate];

Removed GDPR implementation