File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,7 @@ - (id)init {
3838 self.hardwareIdType = hardwareIdType;
3939 }
4040
41- NSString *vendorId = [BNCSystemObserver getVendorId: preferenceHelper.isDebug];
42- if (vendorId) {
43- self.vendorId = vendorId;
44- }
45-
41+ self.vendorId = [BNCSystemObserver getVendorId: preferenceHelper.isDebug];
4642 self.brandName = [BNCSystemObserver getBrand ];
4743 self.modelName = [BNCSystemObserver getModel ];
4844 self.osName = [BNCSystemObserver getOS ];
Original file line number Diff line number Diff line change @@ -252,10 +252,7 @@ - (void)updateDeviceInfoToMutableDictionary:(NSMutableDictionary *)dict {
252252 dict[BRANCH_REQUEST_KEY_IS_HARDWARE_ID_REAL] = @(deviceInfo.isRealHardwareId );
253253 }
254254
255- if (deviceInfo.vendorId ) {
256- dict[BRANCH_REQUEST_KEY_IOS_VENDOR_ID] = deviceInfo.vendorId ;
257- }
258-
255+ [self safeSetValue: deviceInfo.vendorId forKey: BRANCH_REQUEST_KEY_IOS_VENDOR_ID onDict: dict];
259256 [self safeSetValue: deviceInfo.brandName forKey: BRANCH_REQUEST_KEY_BRAND onDict: dict];
260257 [self safeSetValue: deviceInfo.modelName forKey: BRANCH_REQUEST_KEY_MODEL onDict: dict];
261258 [self safeSetValue: deviceInfo.osName forKey: BRANCH_REQUEST_KEY_OS onDict: dict];
You can’t perform that action at this time.
0 commit comments