更新bugly
This commit is contained in:
parent
41527b58c9
commit
7127780429
File diff suppressed because one or more lines are too long
|
|
@ -37,7 +37,7 @@
|
||||||
: NO)
|
: NO)
|
||||||
|
|
||||||
#import <Bugly/Bugly.h>
|
#import <Bugly/Bugly.h>
|
||||||
#define BUGLY_APPID @"900013241"
|
#define BUGLY_APPID @"16d2b238e3"
|
||||||
#import "TalkingData.h"
|
#import "TalkingData.h"
|
||||||
#define TalkingDataAPPID @"351E6F7956CEF7FB6AABAEB64EF9BF18"
|
#define TalkingDataAPPID @"351E6F7956CEF7FB6AABAEB64EF9BF18"
|
||||||
#define BMKMAP_APPKEY @"wYcF3YXqeepKfzruExLPn0eS"
|
#define BMKMAP_APPKEY @"wYcF3YXqeepKfzruExLPn0eS"
|
||||||
|
|
@ -166,7 +166,6 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
|
||||||
}
|
}
|
||||||
|
|
||||||
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
|
||||||
|
|
||||||
self.window.backgroundColor=[UIColor whiteColor];
|
self.window.backgroundColor=[UIColor whiteColor];
|
||||||
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
|
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
|
||||||
//崩溃日志
|
//崩溃日志
|
||||||
|
|
@ -230,18 +229,7 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
|
||||||
_islaunchedByNotification=NO;
|
_islaunchedByNotification=NO;
|
||||||
launchedByNotification = NO;
|
launchedByNotification = NO;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 初始化Bugly
|
|
||||||
*/
|
|
||||||
BuglyConfig *config = [[BuglyConfig alloc] init];
|
|
||||||
config.unexpectedTerminatingDetectionEnable = YES;
|
|
||||||
config.blockMonitorEnable = YES;
|
|
||||||
config.reportLogLevel = BuglyLogLevelWarn;
|
|
||||||
[Bugly startWithAppId:BUGLY_APPID config:config];
|
|
||||||
//[Bugly startWithAppId:BUGLY_APPID];
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* TalkingData 统计工具
|
* TalkingData 统计工具
|
||||||
*/
|
*/
|
||||||
|
|
@ -400,6 +388,17 @@ if (kScreenSize.height>480) {
|
||||||
[[AlibcTradeSDK sharedInstance] setIsForceH5:NO];
|
[[AlibcTradeSDK sharedInstance] setIsForceH5:NO];
|
||||||
|
|
||||||
[self.window makeKeyAndVisible];
|
[self.window makeKeyAndVisible];
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 初始化Bugly
|
||||||
|
*/
|
||||||
|
BuglyConfig *config = [[BuglyConfig alloc] init];
|
||||||
|
config.unexpectedTerminatingDetectionEnable = YES;
|
||||||
|
config.blockMonitorEnable = YES;
|
||||||
|
config.debugMode = YES;
|
||||||
|
config.reportLogLevel = BuglyLogLevelWarn;
|
||||||
|
[Bugly startWithAppId:BUGLY_APPID config:config];
|
||||||
|
|
||||||
return YES;
|
return YES;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -70,7 +70,7 @@
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>CFBundleVersion</key>
|
<key>CFBundleVersion</key>
|
||||||
<string>471</string>
|
<string>472</string>
|
||||||
<key>ITSAppUsesNonExemptEncryption</key>
|
<key>ITSAppUsesNonExemptEncryption</key>
|
||||||
<false/>
|
<false/>
|
||||||
<key>LSApplicationCategoryType</key>
|
<key>LSApplicationCategoryType</key>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue