Skip to content

Commit a4e68b8

Browse files
committed
Removed unnecessary line
1 parent d6e8b61 commit a4e68b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/BranchSDK/BNCRequestFactory.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -623,11 +623,11 @@ - (void)updateDeviceInfoToMutableDictionary:(NSMutableDictionary *)dict {
623623
dict[BRANCH_REQUEST_KEY_HARDWARE_ID_TYPE] = hardwareIdType;
624624
dict[BRANCH_REQUEST_KEY_IS_HARDWARE_ID_REAL] = isRealHardwareId;
625625
}
626-
[self safeSetValue:self.deviceInfo.advertiserId forKey:@"idfa" onDict:dict];
627626
}
628627

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

0 commit comments

Comments
 (0)