更新bugly

This commit is contained in:
xuemh 2018-04-29 21:11:58 +08:00
parent 41527b58c9
commit 7127780429
3 changed files with 15 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@ -37,7 +37,7 @@
: NO)
#import <Bugly/Bugly.h>
#define BUGLY_APPID @"900013241"
#define BUGLY_APPID @"16d2b238e3"
#import "TalkingData.h"
#define TalkingDataAPPID @"351E6F7956CEF7FB6AABAEB64EF9BF18"
#define BMKMAP_APPKEY @"wYcF3YXqeepKfzruExLPn0eS"
@ -166,7 +166,6 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
}
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
self.window.backgroundColor=[UIColor whiteColor];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent animated:NO];
//
@ -230,18 +229,7 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
_islaunchedByNotification=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
*/
@ -400,6 +388,17 @@ if (kScreenSize.height>480) {
[[AlibcTradeSDK sharedInstance] setIsForceH5:NO];
[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;
}

View File

@ -70,7 +70,7 @@
</dict>
</array>
<key>CFBundleVersion</key>
<string>471</string>
<string>472</string>
<key>ITSAppUsesNonExemptEncryption</key>
<false/>
<key>LSApplicationCategoryType</key>