add 友盟统计
This commit is contained in:
@@ -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);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user