浏览代码

IPU标准版:整理行为分析类插件

liufl5 3 年之前
父节点
当前提交
d9fad2b82f
共有 33 个文件被更改,包括 219 次插入198 次删除
  1. 24 30
      IPUCommon/IpuCount.framework/Headers/IpuCommonUtil.h
  2. 27 48
      IPUCommon/IpuCount.framework/Headers/IpuCountConfig.h
  3. 1 0
      IPUCommon/IpuCount.framework/Headers/IpuCountConstant.h
  4. 17 17
      IPUCommon/IpuCount.framework/Headers/IpuCountLocation.h
  5. 26 0
      IPUCommon/IpuCount.framework/Headers/IpuCountLocationVO.h
  6. 28 42
      IPUCommon/IpuCount.framework/Headers/IpuCountReport.h
  7. 8 12
      IPUCommon/IpuCount.framework/Headers/IpuCountService.h
  8. 4 6
      IPUCommon/IpuCount.framework/Headers/IpuCountServiceVO.h
  9. 0 1
      IPUCommon/IpuCount.framework/Headers/IpuCrashExceptionHandler.h
  10. 5 9
      IPUCommon/IpuCount.framework/Headers/IpuDelegateVO.h
  11. 3 3
      IPUCommon/IpuCount.framework/Headers/IpuLogManager.h
  12. 2 0
      IPUCommon/IpuCount.framework/Headers/IpuProxyEngine.h
  13. 二进制
      IPUCommon/IpuCount.framework/Info.plist
  14. 二进制
      IPUCommon/IpuCount.framework/IpuCount
  15. 二进制
      SuperMenu/SuperMenu.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate
  16. 1 1
      display-center/ReactNative/node_modules/react-native-camera/ios/RNCamera.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  17. 1 1
      display-center/ReactNative/node_modules/react-native-gesture-handler/ios/RNGestureHandler.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  18. 1 1
      display-center/ReactNative/node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  19. 1 1
      display-center/ReactNative/node_modules/react-native-webview/ios/RNCWebView.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  20. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/ART/ART.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  21. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/CameraRoll/RCTCameraRoll.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  22. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/Image/RCTImage.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  23. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  24. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  25. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  26. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  27. 1 1
      display-center/ReactNative/node_modules/react-native/Libraries/Text/RCTText.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  28. 2 2
      display-center/ReactNative/node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  29. 8 8
      display-center/ReactNative/node_modules/react-native/React/React.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist
  30. 43 0
      display-center/display-center.xcodeproj/project.pbxproj
  31. 二进制
      display-center/display-center.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate
  32. 5 4
      display-center/display-center/IPUCountLogPlugin.h
  33. 4 4
      display-center/display-center/IPUCountLogPlugin.m

+ 24 - 30
IPUCommon/IpuCount.framework/Headers/IpuCommonUtil.h

@ -8,34 +8,35 @@
8 8
9 9
#import <Foundation/Foundation.h>
10 10
11
/*
12
 通用工具类
13
 */
11 14
@interface IpuCommonUtil : NSObject
12 15
16
13 17
#pragma mark - 数据转换相关
14
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
18
//NSMutableDictionary设置value时做判空处理
19
+(void)formateValue:(id)value Key:(NSString *)key toDictionary:(NSMutableDictionary *)dic;
15 20
21
+ (NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
16 22
+ (NSString *)convertToJsonData:(NSDictionary *)dict;
17
18 23
/*
19 24
 将NSDictionary数据拼接成post请求HTTPBody需要的字符串
20 25
 */
21 26
+ (NSString *)toQueryString:(NSDictionary *)dic;
22
23 27
+ (NSString *)toQueryStringAndEncoding:(NSDictionary *)dic;
24
25 28
/*
26 29
 通过堆栈信息获取异常位置
27 30
 */
28
+ (NSString*)locationExcptionThroughCallStackSymbols:(NSArray *)callStackSymbols;
29
31
+(NSString*)locationExcptionThroughCallStackSymbols:(NSArray*)callStackSymbols;
30 32
/*
31 33
 按最大字节限制截取NSData
32 34
 */
33
+ (NSData *)getNSData:(NSData *)data withMaxBytes:(int)max;
34
35
+(NSData *)getNSData:(NSData *)data withMaxBytes:(int)max;
35 36
/*
36 37
 按最大字节限制截取NSString
37 38
 */
38
+ (NSString *)getNSString:(NSString *)str withMaxBytes:(int)max;
39
+(NSString *)getNSString:(NSString *)str withMaxBytes:(int)max;
39 40
40 41
#pragma mark - 时间相关
41 42
/*
@ -43,91 +44,79 @@
43 44
 eg:"yyyy-MM-dd HH:mm:ss"
44 45
 */
45 46
+ (NSString *)getCurrentFormatTime:(NSString *)format;
46
47 47
+ (NSString *)getCurrentDefaultFormatTime;
48
49 48
/*
50 49
 计算时间差
51 50
 */
52
+ (NSString *)intervalForStarTime:(NSString *)starTime EndTime:(NSString *)endTime;
51
+ (int)intervalForStarTime:(NSString *)starTime EndTime:(NSString *)endTime;
53 52
54 53
#pragma mark - 设备信息相关
55 54
/*
56 55
 系统版本
57 56
 */
58 57
+ (NSString *)getOSVersion;
59
60 58
/*
61 59
 获取手机电量
62 60
 */
63
+ (double)getAvailableBattery;
61
+(double)getAvailableBattery;
64 62
65 63
/*
66 64
 应用名
67 65
 */
68 66
+ (NSString *)getAppName;
69
70 67
/*
71 68
 应用标识
72 69
 */
73 70
+ (NSString *)getAppIdentifier;
74
75 71
/*
76 72
 应用版本
77 73
 */
78 74
+ (NSString *)getAppVersion;
79 75
80
+ (NSString *)getIPAddress;
81 76
77
+ (NSString *)getIPAddress;
82 78
/*
83 79
 判断当前WLAN是否可用,可用返回YES
84 80
 */
85 81
+ (BOOL)activeWLAN;
86
87 82
/*
88 83
 连网状态是否正常,YES为正常
89 84
 */
90 85
+ (BOOL)isNetReachable;
91
92 86
+ (NSString *)getIPV4Address;
93
94 87
+ (NSString *)getIPV6Address;
95
96 88
/*
97 89
 获取运营商信息
98 90
 */
99 91
+ (NSString *)getCarrierInfo;
100
101 92
/*
102 93
 获取网络信息
103 94
 */
104 95
+ (NSString *)getNetWorkInfo;
105
96
/*
97
 获取定位方式
98
 */
99
+ (NSString *)getProviderType;
106 100
/*
107 101
 获取WIFI信号强度
108 102
 */
109 103
+ (int)getWifiSignal;
110
111 104
/*
112 105
 获取wifi ssid
113 106
 */
114 107
+ (NSString *)getWifiSSID;
115
116 108
/*
117 109
 获取CPU类型
118 110
 */
119
+ (NSString *)getCPUType;
120
111
+(NSString *)getCPUType;
121 112
/*
122 113
 获取当前手机CPU使用率,已*100
123 114
 */
124
+ (float)cpu_usag;
125
115
+(float)cpu_usag;
126 116
/*
127 117
 获取当前未使用手机内存
128 118
 */
129 119
+ (double)availableMemory;
130
131 120
/*
132 121
 获取当前已使用手机内存
133 122
 */
@ -164,4 +153,9 @@
164 153
 */
165 154
+ (NSString *)readFileContent:(NSString *)filePath;
166 155
156
/*
157
 判断字符串是否为空
158
 */
159
+(BOOL)isNullWithString:(NSString *)str;
160
167 161
@end

+ 27 - 48
IPUCommon/IpuCount.framework/Headers/IpuCountConfig.h

@ -16,61 +16,40 @@
16 16
17 17
@class IpuDelegateVO;
18 18
@class IpuCountServiceVO;
19
/**
20
 *xml 解析类
21
 *解析 count-config.xml
22
 *格式:
23
 *<config>
24
 *<monitor class="*****">
25
 *   <count class="****">
26
 *      <method>sayHello(委托的方法)</method>
27
        <method>sayBye</method>
28
     </count>
29
 *</monitor>
30
 *</config>
31
 *最终根据xml的格式生成一组键值对的Dictionary
32
 *根据count的class属性的到count标签的内容和它对应的monitor对象
33
 */
34
@interface IpuCountConfig : NSObject <NSXMLParserDelegate>
35
36
+ (IpuCountConfig *)sharedManager;
37
38
/*
39
 开启日志发送功能
40
 */
41
- (void)openCountLog;
42 19
43
/*
44
 关闭日志发送功能
45
 */
46
- (void)closeCountLog;
47
48
/*
49
 是否关闭日志发送功能
50
 */
51
- (BOOL)isCloseCountLog;
20
@interface IpuCountConfig : NSObject <NSXMLParserDelegate>
52 21
53
/*
54
 解析count-config.xml
55
 */
56
- (NSMutableDictionary *)getConfig;
22
+(IpuCountConfig *)sharedManager;
57 23
58 24
/*
59
 获取最高权重服务对象
25
 设置count-service.plist与count-config.xml文件的存储路径
26
 如:“/count-service.plist”
27
 若不设置,默认存储路径为:“/Res/config/count-service.plist”
60 28
 */
61
- (IpuCountServiceVO *)getMostWeightService;
62
63
/*
64
 获取UDP服务列表
65
 */
66
- (void)getUDPRequestInfo;
67
29
+(void)setServicePath:(NSString *)sPath setConfigPath:(NSString *)cPath;
30
31
//获取最高权重服务对象
32
-(IpuCountServiceVO *)getMostWeightService;
33
//获取UDP服务列表
34
-(void)getUDPRequestInfo;
35
//获取count-service.plist中的count_service_url值
36
-(NSString *)getCountServiceUrl;
37
//获取count-service.plist中的count_heartbeat_interval值
38
-(NSNumber *)getCountHeartBeatInterval;
39
40
//解析count-config.xml
41
-(NSMutableDictionary *)getConfig;
68 42
-(NSArray *)getAllDelegateVOs;
43
-(IpuDelegateVO *)getDelegateByClassName:(NSString *)clazzName;
44
-(IpuDelegateVO *)getDelegateByInstance:(NSObject *)obj;
45
-(IpuDelegateVO *)getDelegateByClass:(Class)clazz;
69 46
70
- (IpuDelegateVO *)getDelegateByClassName:(NSString *)clazzName;
71
72
- (IpuDelegateVO *)getDelegateByInstance:(NSObject *)obj;
47
// 开启日志发送功能
48
-(void)openCountLog;
49
//关闭日志发送功能
50
-(void)closeCountLog;
51
//是否关闭日志发送功能
52
-(BOOL)isCloseCountLog;
73 53
74
- (IpuDelegateVO *)getDelegateByClass:(Class)clazz;
75 54
76 55
@end

+ 1 - 0
IPUCommon/IpuCount.framework/Headers/IpuCountConstant.h

@ -23,6 +23,7 @@
23 23
//#define SERVER_PORT 9100
24 24
25 25
#define COUNT_SERVICE_URL @"count_service_url"
26
#define COUNT_HEARTBEAT_INTERVAL @"count_heartbeat_interval"
26 27
27 28
#define LOG_SEPERATOR @"###"
28 29
#define LOG_ITEM_SEPERATOR @"$$$"

+ 17 - 17
IPUCommon/IpuCount.framework/Headers/IpuCountLocation.h

@ -10,27 +10,27 @@
10 10
#import <CoreLocation/CoreLocation.h>
11 11
12 12
13
@interface IpuCountLocation : NSObject <CLLocationManagerDelegate>
13
@interface IpuCountLocation : NSObject<CLLocationManagerDelegate>
14 14
{
15 15
    CLLocationManager *locationmanager;//定位服务
16 16
}
17
@property(nonatomic,copy)void(^locationCompletion)(BOOL isSuccess);
18
@property(nonatomic,strong)NSString *country;//国家
19
@property(nonatomic,strong)NSString *countryCode;//国家编码
20
@property(nonatomic,strong)NSString *province;//省份
21
@property(nonatomic,strong)NSString *city;//城市
22
@property(nonatomic,strong)NSString *district;//区
23
@property(nonatomic,strong)NSString *adCode;//邮政编码
24
@property(nonatomic,strong)NSString *street;//街道
25
@property(nonatomic,strong)NSString *locationDesc;//位置描述
26
@property(nonatomic,strong)NSString *longitude;//经度
27
@property(nonatomic,strong)NSString *latitude;//维度
28
@property(nonatomic,strong)NSString *accuracy;//垂直精度
29
@property(nonatomic,strong)NSString *altitude;//海拔高度
17 30
18
@property (nonatomic, copy) void (^locationCompletion)(BOOL isSuccess);
19
@property (nonatomic, strong) NSString *country;    // 国家
20
@property (nonatomic, strong) NSString *countryCode;    // 国家编码
21
@property (nonatomic, strong) NSString *province;   // 省份
22
@property (nonatomic, strong) NSString *city;   // 城市
23
@property (nonatomic, strong) NSString *district;   // 区
24
@property (nonatomic, strong) NSString *adCode; // 邮政编码
25
@property (nonatomic, strong) NSString *street; // 街道
26
@property (nonatomic, strong) NSString *locationDesc;   // 位置描述
27
@property (nonatomic, strong) NSString *longitude;  // 经
28
@property (nonatomic, strong) NSString *latitude;   // 维
29
@property (nonatomic, strong) NSString *accuracy;   // 垂直精
30
@property (nonatomic, strong) NSString *altitude;   // 海拔高度
31 31
32
+ (instancetype)sharedInstance;
33
34
/- (void)getLocationWithCompletion:(void(^)(BOOL isSuccess))completion;
32
+(instancetype) sharedInstance;
33
-(void)getLocationWithCompletion:(void(^)(BOOL isSuccess))completion;
34
//-(void)getLocation;
35 35
36 36
@end

+ 26 - 0
IPUCommon/IpuCount.framework/Headers/IpuCountLocationVO.h

@ -0,0 +1,26 @@
1
//
2
//  IpuCountLocationVO.h
3
//  IpuCount
4
//
5
//  Created by Mac on 2020/8/18.
6
//  Copyright © 2020 shelomi. All rights reserved.
7
//
8
9
#import <Foundation/Foundation.h>
10
11
@interface IpuCountLocationVO : NSObject<NSCoding>
12
13
@property(nonatomic,strong)NSString *country;//国家
14
@property(nonatomic,strong)NSString *countryCode;//国家编码
15
@property(nonatomic,strong)NSString *province;//省份
16
@property(nonatomic,strong)NSString *city;//城市
17
@property(nonatomic,strong)NSString *district;//区
18
@property(nonatomic,strong)NSString *adCode;//邮政编码
19
@property(nonatomic,strong)NSString *street;//街道
20
@property(nonatomic,strong)NSString *locationDesc;//位置描述
21
@property(nonatomic,strong)NSString *longitude;//经度
22
@property(nonatomic,strong)NSString *latitude;//维度
23
@property(nonatomic,strong)NSString *accuracy;//垂直精度
24
@property(nonatomic,strong)NSString *altitude;//海拔高度
25
26
@end

+ 28 - 42
IPUCommon/IpuCount.framework/Headers/IpuCountReport.h

@ -10,53 +10,39 @@
10 10
11 11
@interface IpuCountReport : NSObject
12 12
13
/**
14
 *通用的日志发送类:message.style.ipu_oper - 0
13
/*
14
 1.启动事件
15 15
 */
16
+ (void)reportOperWithType:(NSString *)type
17
                   remark1:(NSString *)mark1
18
                   remark2:(NSString *)mark2;
16
+(void)reportAppStart;
19 17
20
/**
21
 *发送基本设备信息和应用信息:ipu_device
22
 **/
23
+ (void)reportGeneralInfo;
18
/*
19
 2.插件使用事件
20
 */
21
+(void)reportPluginInfo:(NSString *)time action:(NSString *)action className:(NSString *)className exception:(NSException *)exp;
22
23
/*
24
 3.页面浏览事件
25
 */
26
+(void)reportPageInfo:(NSString *)startTime action:(NSString *)action lastAction:(NSString *)lastAction params:(NSString *)params className:(NSString *)className exception:(NSException *)exp;
24 27
25
+ (void)reportAppStartWithRemark1:(NSString *)mark1 Remark2:(NSString *)mark2;
28
/*
29
 4.接口调用事件
30
 */
31
+ (void)reportDataInfo:(NSString *)startTime action:(NSString *)action params:(NSString *)params className:(NSString *)className exception:(NSException *)exp;
26 32
27
/**
28
 *崩溃信息日志封装:ipu_crash
29
 **/
30
+ (void)reportCrashInfo:(NSException *)exp CrashTime:(NSString *)crashTime;
33
/*
34
 5.崩溃事件
35
 */
36
+ (void)reportExceptionName:(NSString *)expName Reason:(NSString *)reason StackInfo:(NSArray *)stack CrashTime:(NSString *)crashTime;
37
38
/*
39
 6.心跳事件
40
 */
41
+(void)reportHeartBeat;
31 42
32
/**
33
 *插件调用日志封装:ipu_plugin
34
 *格式:LOG_TYPE + LOG_KEY + LOG_SEND_TIME + START_TIME + DURATION + PLUGIN_ACTION + LAST_PLUGIN_ACTION + STATUS + EXCEPTION_NAME + EXCEPTION_CLASS + EXCEPTION_METHOD
43
/*
44
 7.自定义事件
35 45
 */
36
+ (void)reportPluginInfo:(NSString *)time
37
                  action:(NSString *)action
38
               className:(NSString *)className
39
               exception:(NSException *)exp;
40
41
/**
42
 *数据请求日志封装:ipu_data
43
 格式:LOG_TYPE + LOG_KEY + LOG_SEND_TIME + START_TIME + DURATION + DATA_ACTION + PARAM + LAST_DATA_ACTION + STATUS + EXCEPTION_NAME + EXCEPTION_CLASS + EXCEPTION_METHOD
44
 **/
45
+ (void)reportDataInfo:(NSString *)startTime
46
                action:(NSString *)action
47
                params:(NSString *)params
48
             className:(NSString *)className
49
             exception:(NSException *)exp;
50
51
/**
52
 *页面请求日志封装:ipu_page
53
 格式:LOG_TYPE + LOG_KEY + LOG_SEND_TIME + START_TIME + DURATION + PAGE_ACTION + PARAM + LAST_PAGE_ACTION + STATUS + EXCEPTION_NAME + EXCEPTION_CLASS + EXCEPTION_METHOD
54
 **/
55
+ (void)reportPageInfo:(NSString *)startTime
56
                action:(NSString *)action
57
            lastAction:(NSString *)lastAction
58
                params:(NSString *)params
59
             className:(NSString *)className
60
             exception:(NSException *)exp;
46
+(void)reportCustom:(NSDictionary *)customDic SubEventType:(NSString *)subType;
61 47
62 48
@end

+ 8 - 12
IPUCommon/IpuCount.framework/Headers/IpuCountService.h

@ -8,27 +8,23 @@
8 8
9 9
#import <Foundation/Foundation.h>
10 10
11
@interface IpuCountService : NSObject <NSURLConnectionDelegate>
11
@interface IpuCountService : NSObject<NSURLConnectionDelegate>
12 12
13
@property (nonatomic, strong) NSMutableData *receiveData;
13
@property(nonatomic,strong)NSMutableData *receiveData;
14
@property(nonatomic,strong)NSString *receiveStr;
14 15
15
@property (nonatomic, strong) NSString *receiveStr;
16
17
+ (IpuCountService *)sharedManager;
18
19
- (NSString *)getCountServiceUrl;
16
+(IpuCountService *)sharedManager;
20 17
21 18
/*
22 19
 异步请求
23 20
 */
24
- (void)requestWithGetAsynchronous:(NSString *)requestStr completion:(void(^)(NSData *data, NSURLResponse *response, NSError *error))completion;
25
- (void)requestWithPostAsynchronous:(NSString *)requestStr params:(NSDictionary *)params completion:(void(^)(NSData *data, NSURLResponse *response, NSError *error))completion;
21
-(void)requestWithGetAsynchronous:(NSString *)requestStr completion:(void(^)(NSData *data, NSURLResponse *response, NSError *error))completion;
22
-(void)requestWithPostAsynchronous:(NSString *)requestStr params:(NSDictionary *)params completion:(void(^)(NSData *data, NSURLResponse *response, NSError *error))completion;
26 23
27 24
/*
28 25
 同步请求
29 26
 */
30
- (NSString *)requestWithGetSynchronize:(NSString *)requestStr;
31
32
- (NSString *)requestWithPostSynchronize:(NSString *)requestStr params:(NSDictionary *)params;
27
-(NSString *)requestWithGetSynchronize:(NSString *)requestStr;
28
-(NSString *)requestWithPostSynchronize:(NSString *)requestStr params:(NSDictionary *)params;
33 29
34 30
@end

+ 4 - 6
IPUCommon/IpuCount.framework/Headers/IpuCountServiceVO.h

@ -10,12 +10,10 @@
10 10
11 11
@interface IpuCountServiceVO : NSObject
12 12
13
@property (nonatomic, assign) NSUInteger serverPort;
13
@property(nonatomic,assign)NSUInteger serverPort;
14
@property(nonatomic,strong)NSString *serverIp;
15
@property(nonatomic,assign)int weight;
14 16
15
@property (nonatomic, strong) NSString *serverIp;
16
17
@property (nonatomic, assign) int weight;
18
19
- (id)initWithDictionary:(NSDictionary *)dic;
17
-(id)initWithDictionary:(NSDictionary *)dic;
20 18
21 19
@end

+ 0 - 1
IPUCommon/IpuCount.framework/Headers/IpuCrashExceptionHandler.h

@ -12,6 +12,5 @@
12 12
@interface IpuCrashExceptionHandler : NSObject
13 13
14 14
+ (void)setDefaultHandler;
15
+ (NSUncaughtExceptionHandler *)getHandler;
16 15
17 16
@end

+ 5 - 9
IPUCommon/IpuCount.framework/Headers/IpuDelegateVO.h

@ -15,15 +15,11 @@
15 15
 **/
16 16
@interface IpuDelegateVO : NSObject
17 17
18
@property (nonatomic, copy) NSString *className;
19
20
@property (nonatomic, copy) NSString *aspectName;
21
22
@property (nonatomic, strong) NSMutableArray *methods;
23
24
@property (nonatomic, strong) NSObject *aspectObj;
25
26
@property (nonatomic, strong) NSObject *classObj;
18
@property (nonatomic,copy) NSString *className;
19
@property (nonatomic,copy) NSString *aspectName;
20
@property (nonatomic,strong) NSMutableArray *methods;
21
@property(nonatomic,strong)NSObject *aspectObj;
22
@property(nonatomic,strong)NSObject *classObj;
27 23
28 24
- (instancetype)initWithClassName:(NSString *)className AndAspectName:(NSString*)aspectName;
29 25

+ 3 - 3
IPUCommon/IpuCount.framework/Headers/IpuLogManager.h

@ -10,7 +10,7 @@
10 10
11 11
@interface IpuLogManager : NSObject
12 12
13
+ (instancetype)sharedInstance;
13
+ (instancetype) sharedInstance;
14 14
15 15
/*
16 16
 静态写日志
@ -27,12 +27,12 @@
27 27
/*
28 28
 清空日志文件内容
29 29
 */
30
- (BOOL)clearLogInfo;
30
-(BOOL)clearLogInfo;
31 31
32 32
/*
33 33
 删除日志文件
34 34
 */
35
- (BOOL)deleteLogFile;
35
-(BOOL)deleteLogFile;
36 36
37 37
/*
38 38
 动态写日志

+ 2 - 0
IPUCommon/IpuCount.framework/Headers/IpuProxyEngine.h

@ -19,4 +19,6 @@ extern id impWithParam07(id obj, SEL sel, id p1, id p2, id p3, id p4, id p5, id
19 19
extern id impWithParam08(id obj, SEL sel, id p1, id p2, id p3, id p4, id p5, id p6, id p7, id p8);
20 20
extern id impWithParam09(id obj, SEL sel, id p1, id p2, id p3, id p4, id p5, id p6, id p7, id p8, id p9);
21 21
extern id impWithParam10(id obj, SEL sel, id p1, id p2, id p3, id p4, id p5, id p6, id p7, id p8, id p9, id p10);
22
extern id impWithParam11(id obj, SEL sel, id p1, id p2, id p3, id p4, id p5, id p6, id p7, id p8, id p9, id p10, id p11);
23
extern id impWithParam12(id obj, SEL sel, id p1, id p2, id p3, id p4, id p5, id p6, id p7, id p8, id p9, id p10, id p11, id p12);
22 24

二进制
IPUCommon/IpuCount.framework/Info.plist


二进制
IPUCommon/IpuCount.framework/IpuCount


二进制
SuperMenu/SuperMenu.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 1
display-center/ReactNative/node_modules/react-native-camera/ios/RNCamera.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -12,7 +12,7 @@
12 12
		<key>RNCamera.xcscheme_^#shared#^_</key>
13 13
		<dict>
14 14
			<key>orderHint</key>
15
			<integer>26</integer>
15
			<integer>27</integer>
16 16
		</dict>
17 17
	</dict>
18 18
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native-gesture-handler/ios/RNGestureHandler.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -12,7 +12,7 @@
12 12
		<key>RNGestureHandler.xcscheme_^#shared#^_</key>
13 13
		<dict>
14 14
			<key>orderHint</key>
15
			<integer>23</integer>
15
			<integer>24</integer>
16 16
		</dict>
17 17
	</dict>
18 18
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native-vector-icons/RNVectorIcons.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RNVectorIcons.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>24</integer>
20
			<integer>25</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native-webview/ios/RNCWebView.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -12,7 +12,7 @@
12 12
		<key>RNCWebView.xcscheme_^#shared#^_</key>
13 13
		<dict>
14 14
			<key>orderHint</key>
15
			<integer>25</integer>
15
			<integer>26</integer>
16 16
		</dict>
17 17
	</dict>
18 18
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/ART/ART.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>ART.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>31</integer>
20
			<integer>32</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/CameraRoll/RCTCameraRoll.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -12,7 +12,7 @@
12 12
		<key>RCTCameraRoll.xcscheme_^#shared#^_</key>
13 13
		<dict>
14 14
			<key>orderHint</key>
15
			<integer>30</integer>
15
			<integer>31</integer>
16 16
		</dict>
17 17
	</dict>
18 18
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/Image/RCTImage.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RCTImage.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>28</integer>
20
			<integer>29</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RCTLinking.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>32</integer>
20
			<integer>33</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RCTAnimation.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>29</integer>
20
			<integer>30</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RCTNetwork.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>27</integer>
20
			<integer>28</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RCTSettings.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>33</integer>
20
			<integer>34</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 1 - 1
display-center/ReactNative/node_modules/react-native/Libraries/Text/RCTText.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RCTText.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>34</integer>
20
			<integer>35</integer>
21 21
		</dict>
22 22
	</dict>
23 23
</dict>

+ 2 - 2
display-center/ReactNative/node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -17,7 +17,7 @@
17 17
		<key>RCTWebSocket.xcscheme_^#shared#^_</key>
18 18
		<dict>
19 19
			<key>orderHint</key>
20
			<integer>35</integer>
20
			<integer>36</integer>
21 21
		</dict>
22 22
		<key>fishhook-tvOS.xcscheme_^#shared#^_</key>
23 23
		<dict>
@ -32,7 +32,7 @@
32 32
		<key>fishhook.xcscheme_^#shared#^_</key>
33 33
		<dict>
34 34
			<key>orderHint</key>
35
			<integer>36</integer>
35
			<integer>37</integer>
36 36
		</dict>
37 37
	</dict>
38 38
</dict>

+ 8 - 8
display-center/ReactNative/node_modules/react-native/React/React.xcodeproj/xcuserdata/mac.xcuserdatad/xcschemes/xcschememanagement.plist

@ -12,7 +12,7 @@
12 12
		<key>React.xcscheme_^#shared#^_</key>
13 13
		<dict>
14 14
			<key>orderHint</key>
15
			<integer>22</integer>
15
			<integer>23</integer>
16 16
		</dict>
17 17
		<key>cxxreact-tvOS.xcscheme_^#shared#^_</key>
18 18
		<dict>
@ -27,7 +27,7 @@
27 27
		<key>cxxreact.xcscheme_^#shared#^_</key>
28 28
		<dict>
29 29
			<key>orderHint</key>
30
			<integer>38</integer>
30
			<integer>39</integer>
31 31
		</dict>
32 32
		<key>double-conversion-tvOS.xcscheme_^#shared#^_</key>
33 33
		<dict>
@ -42,7 +42,7 @@
42 42
		<key>double-conversion.xcscheme_^#shared#^_</key>
43 43
		<dict>
44 44
			<key>orderHint</key>
45
			<integer>41</integer>
45
			<integer>42</integer>
46 46
		</dict>
47 47
		<key>jsi-tvOS.xcscheme_^#shared#^_</key>
48 48
		<dict>
@ -57,7 +57,7 @@
57 57
		<key>jsi.xcscheme_^#shared#^_</key>
58 58
		<dict>
59 59
			<key>orderHint</key>
60
			<integer>42</integer>
60
			<integer>43</integer>
61 61
		</dict>
62 62
		<key>jsiexecutor-tvOS.xcscheme_^#shared#^_</key>
63 63
		<dict>
@ -72,7 +72,7 @@
72 72
		<key>jsiexecutor.xcscheme_^#shared#^_</key>
73 73
		<dict>
74 74
			<key>orderHint</key>
75
			<integer>43</integer>
75
			<integer>44</integer>
76 76
		</dict>
77 77
		<key>jsinspector-tvOS.xcscheme_^#shared#^_</key>
78 78
		<dict>
@ -87,7 +87,7 @@
87 87
		<key>jsinspector.xcscheme_^#shared#^_</key>
88 88
		<dict>
89 89
			<key>orderHint</key>
90
			<integer>39</integer>
90
			<integer>40</integer>
91 91
		</dict>
92 92
		<key>third-party-tvOS.xcscheme_^#shared#^_</key>
93 93
		<dict>
@ -102,7 +102,7 @@
102 102
		<key>third-party.xcscheme_^#shared#^_</key>
103 103
		<dict>
104 104
			<key>orderHint</key>
105
			<integer>40</integer>
105
			<integer>41</integer>
106 106
		</dict>
107 107
		<key>yoga-tvOS.xcscheme_^#shared#^_</key>
108 108
		<dict>
@ -117,7 +117,7 @@
117 117
		<key>yoga.xcscheme_^#shared#^_</key>
118 118
		<dict>
119 119
			<key>orderHint</key>
120
			<integer>37</integer>
120
			<integer>38</integer>
121 121
		</dict>
122 122
	</dict>
123 123
</dict>

+ 43 - 0
display-center/display-center.xcodeproj/project.pbxproj

@ -183,6 +183,20 @@
183 183
			remoteGlobalIDString = B256EE2221F079F10096C446;
184 184
			remoteInfo = IPUMobileFunc;
185 185
		};
186
		04169F6A274CE5AD00AD9286 /* PBXContainerItemProxy */ = {
187
			isa = PBXContainerItemProxy;
188
			containerPortal = 04169F65274CE5AD00AD9286 /* IpuCount.xcodeproj */;
189
			proxyType = 2;
190
			remoteGlobalIDString = EAA4B4D61C897885000342A1;
191
			remoteInfo = IpuCount;
192
		};
193
		04169F6C274CE5AD00AD9286 /* PBXContainerItemProxy */ = {
194
			isa = PBXContainerItemProxy;
195
			containerPortal = 04169F65274CE5AD00AD9286 /* IpuCount.xcodeproj */;
196
			proxyType = 2;
197
			remoteGlobalIDString = EAA4B4E01C897885000342A1;
198
			remoteInfo = IpuCountTests;
199
		};
186 200
		B20C6CB32296334800AECAA6 /* PBXContainerItemProxy */ = {
187 201
			isa = PBXContainerItemProxy;
188 202
			containerPortal = B20C6CA82296334800AECAA6 /* React.xcodeproj */;
@ -501,6 +515,7 @@
501 515
		04169F4C274CD6C900AD9286 /* IpuFaceCheck.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = IpuFaceCheck.xcodeproj; path = "../../ios-plugin/IpuFaceCheck/IpuFaceCheck.xcodeproj"; sourceTree = "<group>"; };
502 516
		04169F59274CDA0A00AD9286 /* IpuPush.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = IpuPush.xcodeproj; path = "../../ios-plugin/IpuPush/IpuPush.xcodeproj"; sourceTree = "<group>"; };
503 517
		04169F5F274CDF3C00AD9286 /* IPUMobileFunc.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = IPUMobileFunc.xcodeproj; path = ../IPUMobileFunc/IPUMobileFunc.xcodeproj; sourceTree = "<group>"; };
518
		04169F65274CE5AD00AD9286 /* IpuCount.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = IpuCount.xcodeproj; path = "../../ios-plugin/IpuCount/IpuCount.xcodeproj"; sourceTree = "<group>"; };
504 519
		A71ACCEC242B3D5A000B0B14 /* IPUFaceCheckPlugin.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = IPUFaceCheckPlugin.m; sourceTree = "<group>"; };
505 520
		A71ACD15242B3D5C000B0B14 /* IPUFaceCheckPlugin.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = IPUFaceCheckPlugin.h; sourceTree = "<group>"; };
506 521
		A791DA11240904960022E097 /* IPUOcr.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = IPUOcr.framework; path = ../IPUCommon/IPUOcr.framework; sourceTree = "<group>"; };
@ -736,6 +751,15 @@
736 751
			name = Products;
737 752
			sourceTree = "<group>";
738 753
		};
754
		04169F66274CE5AD00AD9286 /* Products */ = {
755
			isa = PBXGroup;
756
			children = (
757
				04169F6B274CE5AD00AD9286 /* IpuCount.framework */,
758
				04169F6D274CE5AD00AD9286 /* IpuCountTests.xctest */,
759
			);
760
			name = Products;
761
			sourceTree = "<group>";
762
		};
739 763
		0460E86120AA9C1300CCFDA4 /* Frameworks */ = {
740 764
			isa = PBXGroup;
741 765
			children = (
@ -1000,6 +1024,7 @@
1000 1024
		EA8712331ECD8B580045E19A = {
1001 1025
			isa = PBXGroup;
1002 1026
			children = (
1027
				04169F65274CE5AD00AD9286 /* IpuCount.xcodeproj */,
1003 1028
				04169F5F274CDF3C00AD9286 /* IPUMobileFunc.xcodeproj */,
1004 1029
				04169F59274CDA0A00AD9286 /* IpuPush.xcodeproj */,
1005 1030
				04169F4C274CD6C900AD9286 /* IpuFaceCheck.xcodeproj */,
@ -1134,6 +1159,10 @@
1134 1159
					ProjectRef = B20C6CE62296367200AECAA6 /* ART.xcodeproj */;
1135 1160
				},
1136 1161
				{
1162
					ProductGroup = 04169F66274CE5AD00AD9286 /* Products */;
1163
					ProjectRef = 04169F65274CE5AD00AD9286 /* IpuCount.xcodeproj */;
1164
				},
1165
				{
1137 1166
					ProductGroup = 04169F4D274CD6C900AD9286 /* Products */;
1138 1167
					ProjectRef = 04169F4C274CD6C900AD9286 /* IpuFaceCheck.xcodeproj */;
1139 1168
				},
@ -1259,6 +1288,20 @@
1259 1288
			remoteRef = 04169F63274CDF3C00AD9286 /* PBXContainerItemProxy */;
1260 1289
			sourceTree = BUILT_PRODUCTS_DIR;
1261 1290
		};
1291
		04169F6B274CE5AD00AD9286 /* IpuCount.framework */ = {
1292
			isa = PBXReferenceProxy;
1293
			fileType = wrapper.framework;
1294
			path = IpuCount.framework;
1295
			remoteRef = 04169F6A274CE5AD00AD9286 /* PBXContainerItemProxy */;
1296
			sourceTree = BUILT_PRODUCTS_DIR;
1297
		};
1298
		04169F6D274CE5AD00AD9286 /* IpuCountTests.xctest */ = {
1299
			isa = PBXReferenceProxy;
1300
			fileType = wrapper.cfbundle;
1301
			path = IpuCountTests.xctest;
1302
			remoteRef = 04169F6C274CE5AD00AD9286 /* PBXContainerItemProxy */;
1303
			sourceTree = BUILT_PRODUCTS_DIR;
1304
		};
1262 1305
		B20C6CB42296334800AECAA6 /* libReact.a */ = {
1263 1306
			isa = PBXReferenceProxy;
1264 1307
			fileType = archive.ar;

二进制
display-center/display-center.xcodeproj/project.xcworkspace/xcuserdata/mac.xcuserdatad/UserInterfaceState.xcuserstate


+ 5 - 4
display-center/display-center/IPUCountLogPlugin.h

@ -9,12 +9,13 @@
9 9
#import <IPUMobile/IPUMobile.h>
10 10
11 11
@interface IPUCountLogPlugin : IPUPlugin
12
13
// 控制行为分析框架日志开关,供外部接口(JS)调用
12
/**
13
 * 控制行为分析框架日志开关,供外部接口(JS)调用
14
 */
14 15
- (void)closeCountLog:(NSArray *)params;
15 16
16
/*
17
 发送自定义日志
17
/**
18
 * 发送自定义日志
18 19
 */
19 20
- (void)sendCustomLog:(NSArray *)params;
20 21

+ 4 - 4
display-center/display-center/IPUCountLogPlugin.m

@ -11,8 +11,8 @@
11 11
12 12
@implementation IPUCountLogPlugin
13 13
14
/*
15
 控制行为分析框架日志开关,供外部接口(JS)调用
14
/**
15
 * 控制行为分析框架日志开关,供外部接口(JS)调用
16 16
 */
17 17
-(void)closeCountLog:(NSArray *)params{
18 18
    BOOL closeLog = false;
@ -35,8 +35,8 @@
35 35
    }
36 36
}
37 37
38
/*
39
 发送自定义日志
38
/**
39
 * 发送自定义日志
40 40
 */
41 41
- (void)sendCustomLog:(NSArray *)params {
42 42
    NSString *content;