更新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) : 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];
// //
@ -231,17 +230,6 @@ NSString *NTESNotificationLogout = @"NTESNotificationLogout";
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;
} }

View File

@ -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>