Authored by 朱小军

移除idfa收集

... ... @@ -14,7 +14,6 @@
#include <sys/file.h>
#include <sys/socket.h>
#import <UIKit/UIKit.h>
#import <AdSupport/AdSupport.h>
#import "OpenUDID.h"
#import "JTSHardwareInfo.h"
#import "YHEventReport.h"
... ... @@ -66,8 +65,6 @@ static NSString *const kAppFingerPrint = @"com.yoho.appfingerprint";
//Vendor标示符
self.ifv = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
//广告标示符
self.ifa = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
self.mac = [YH_Device getMacAddress];
... ... @@ -81,6 +78,7 @@ static NSString *const kAppFingerPrint = @"com.yoho.appfingerprint";
- (NSDictionary *)jsonDictionary
{
return @{
YOHOAppReportKeyJsonKeyDeviceSV : self.sv ? self.sv : @"",
YOHOAppReportKeyJsonKeyDeviceAK : self.ak ? self.ak : @"",
... ... @@ -89,7 +87,7 @@ static NSString *const kAppFingerPrint = @"com.yoho.appfingerprint";
YOHOAppReportKeyJsonKeyDeviceOSV : self.osv ? self.osv : @"",
YOHOAppReportKeyJsonKeyDeviceDM : self.dm ? self.dm : @"",
YOHOAppReportKeyJsonKeyDeviceUDID : self.udid ? self.udid : @"",
YOHOAppReportKeyJsonKeyDeviceIFA : self.ifa ? self.ifa : @"",
YOHOAppReportKeyJsonKeyDeviceIFA : @"",
YOHOAppReportKeyJsonKeyDeviceIFV : self.ifv ? self.ifv : @"",
YOHOAppReportKeyJsonKeyDeviceRES : self.res ? self.res : @"",
YOHOAppReportKeyJsonKeyDeviceMAC : self.mac ? self.mac : @"",
... ...
... ... @@ -360,7 +360,7 @@
IsStrEmpty(appInfo.os)?@"":appInfo.os,YOHOAppReportKeyOS,
IsStrEmpty(appInfo.osv)?@"":appInfo.osv,YOHOAppReportKeyOSV,
IsStrEmpty(appInfo.dm)?@"":appInfo.dm,YOHOAppReportKeyDM,
IsStrEmpty(appInfo.idfa)?@"":appInfo.idfa,YOHOAppReportKeyIDFA,
// IsStrEmpty(appInfo.idfa)?@"":appInfo.idfa,YOHOAppReportKeyIDFA,
nil];
return deviceInfo;
}
... ...
... ... @@ -14,7 +14,6 @@
#import <CoreTelephony/CTCarrier.h>
#import <CoreTelephony/CTTelephonyNetworkInfo.h>
#import <UIKit/UIKit.h>
#import <AdSupport/AdSupport.h>
#import "YH_EventUtil.h"
#import "YHEventReport.h"
#import "NSString+ER_URL.h"
... ... @@ -35,7 +34,6 @@
}
- (void)update {
self.idfa = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString] ?: @"";
self.ch = [[YHEventReport sharedInstance] channelId];
self.udid = [OpenUDID value];
self.os = @"iOS";
... ...