Skip to content

Commit

Permalink
spellcheck
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonStalnaker committed Sep 9, 2024
1 parent 195a318 commit 068a612
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Sources/mParticle-Appboy/MPKitAppboy.m
Original file line number Diff line number Diff line change
Expand Up @@ -1061,7 +1061,7 @@ - (void)updateConsent {

// Update from mParticle consent
if (self.configuration && self.configuration[MPConsentMappingSDKKey]) {
// Retrieve the array of Consent Map Dicitonaries from the Config
// Retrieve the array of Consent Map Dictionaries from the Config
NSData *objectData = [self.configuration[MPConsentMappingSDKKey] dataUsingEncoding:NSUTF8StringEncoding];
NSArray *consentMappingArray = [NSJSONSerialization JSONObjectWithData:objectData
options:NSJSONReadingMutableContainers
Expand All @@ -1075,8 +1075,7 @@ - (void)updateConsent {
MPGDPRConsent *consent = userConsentMap[consentPurpose.lowercaseString];
if ([brazeConsentName isEqualToString:MPGoogleAdUserDataKey]) {
[appboyInstance.user setCustomAttributeWithKey:BGoogleAdUserDataKey boolValue:consent.consented];
}
if ([brazeConsentName isEqualToString:MPGoogleAdPersonalizationKey]) {
} else if ([brazeConsentName isEqualToString:MPGoogleAdPersonalizationKey]) {
[appboyInstance.user setCustomAttributeWithKey:BGoogleAdPersonalizationKey boolValue:consent.consented];
}
}
Expand Down

0 comments on commit 068a612

Please sign in to comment.