@@ -464,9 +464,9 @@ - (void)updateConsent {
464464 isUserSubjectToGDPR = YES ;
465465 }
466466
467- NSNumber *dataUsage = [self mp_resolvedConsentForKey :kMPAFAdUserDataKey gdprConsents: gdprConsents];
468- NSNumber *personalization = [self mp_resolvedConsentForKey :kMPAFAdPersonalizationKey gdprConsents: gdprConsents];
469- NSNumber *storage = [self mp_resolvedConsentForKey :kMPAFAdStorageKey gdprConsents: gdprConsents];
467+ NSNumber *dataUsage = [self resolvedConsentForKey :kMPAFAdUserDataKey gdprConsents: gdprConsents];
468+ NSNumber *personalization = [self resolvedConsentForKey :kMPAFAdPersonalizationKey gdprConsents: gdprConsents];
469+ NSNumber *storage = [self resolvedConsentForKey :kMPAFAdStorageKey gdprConsents: gdprConsents];
470470
471471 AppsFlyerConsent *consentObj = nil ;
472472 if (isUserSubjectToGDPR) {
@@ -489,7 +489,7 @@ - (void)updateConsent {
489489
490490#pragma helper methods
491491
492- - (NSNumber * _Nullable)mp_valueForConsentKey : (NSString *)key {
492+ - (NSNumber * _Nullable)valueForConsentKey : (NSString *)key {
493493 NSString *value = self->_configuration [key];
494494 if ([value isEqualToString: @" Granted" ]) {
495495 return @(YES );
@@ -499,10 +499,10 @@ - (NSNumber * _Nullable)mp_valueForConsentKey:(NSString *)key {
499499 return nil ;
500500}
501501
502- - (NSNumber * _Nullable)mp_resolvedConsentForKey : (NSString *)key
502+ - (NSNumber * _Nullable)resolvedConsentForKey : (NSString *)key
503503 gdprConsents : (NSDictionary <NSString *, MPGDPRConsent *> *)gdprConsents {
504504 // Defaults Consent States
505- NSNumber *value = [self mp_valueForConsentKey : key];
505+ NSNumber *value = [self valueForConsentKey : key];
506506
507507 // Update from mParticle Consent
508508 if (self->_configuration [key] && gdprConsents[self ->_configuration[key]]) {
0 commit comments