add 友盟统计

This commit is contained in:
lianxiang
2018-08-27 17:09:56 +08:00
parent 6e090fd28d
commit 6a8d55457a
54 changed files with 2560 additions and 1314 deletions
+13
View File
@@ -9,6 +9,10 @@
#import "AppDelegate+ThirdParty.h"
#define PUSH_APPKEY @"1f8122badd24c2adb8b3f231"
#import "WXApi.h"
#import <Bugly/Bugly.h>
#import <UMCommon/UMCommon.h>
#import <UMAnalytics/MobClick.h>
#define UMAPP_Key @"5b83a929b27b0a1b9e000036"
@implementation AppDelegate (ThirdParty)
@@ -39,6 +43,15 @@
//微信
[WXApi registerApp:WXin_APPID];
//bugly
[Bugly startWithAppId:nil];
//友盟统计
[UMConfigure setEncryptEnabled:YES];
[UMConfigure setLogEnabled:YES];
[UMConfigure initWithAppkey:UMAPP_Key channel:nil];
// NSString* deviceID = [UMConfigure deviceIDForIntegration];
// NSLog(@"集成测试的deviceID:%@",deviceID);
}