Skip to content

Commit

Permalink
Removed unnecessary line
Browse files Browse the repository at this point in the history
  • Loading branch information
nsingh-branch committed Nov 12, 2024
1 parent d6e8b61 commit a4e68b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/BranchSDK/BNCRequestFactory.m
Original file line number Diff line number Diff line change
Expand Up @@ -623,11 +623,11 @@ - (void)updateDeviceInfoToMutableDictionary:(NSMutableDictionary *)dict {
dict[BRANCH_REQUEST_KEY_HARDWARE_ID_TYPE] = hardwareIdType;
dict[BRANCH_REQUEST_KEY_IS_HARDWARE_ID_REAL] = isRealHardwareId;
}
[self safeSetValue:self.deviceInfo.advertiserId forKey:@"idfa" onDict:dict];
}

// Only include hardware ID fields for attribution levels greater than None
if ([self.preferenceHelper attributionLevel] != BranchAttributionLevelNone) {
// idfv is duplicated in the hardware id field when idfa is unavailable
[self safeSetValue:self.deviceInfo.vendorId forKey:BRANCH_REQUEST_KEY_IOS_VENDOR_ID onDict:dict];
}

Expand Down

0 comments on commit a4e68b8

Please sign in to comment.