bugly模拟器可用配置
修改包名
This commit is contained in:
@@ -8,7 +8,9 @@
|
||||
#import "AppDelegate.h"
|
||||
#import "KBPermissionViewController.h"
|
||||
#import <AFNetworking/AFNetworking.h>
|
||||
#if !DEBUG
|
||||
#import <Bugly/Bugly.h>
|
||||
#endif
|
||||
#import "BaseTabBarController.h"
|
||||
#import "LoginViewController.h"
|
||||
#import "KBLoginSheetViewController.h"
|
||||
@@ -17,8 +19,8 @@
|
||||
|
||||
// 注意:用于判断系统已启用本输入法扩展的 bundle id 需与扩展 target 的
|
||||
// PRODUCT_BUNDLE_IDENTIFIER 完全一致。
|
||||
// 当前工程的 CustomKeyboard target 为 com.keyBoardst.CustomKeyboard
|
||||
static NSString * const kKBKeyboardExtensionBundleId = @"com.keyBoardst.CustomKeyboard";
|
||||
// 当前工程的 CustomKeyboard target 为 com.loveKey.nyx.CustomKeyboard
|
||||
static NSString * const kKBKeyboardExtensionBundleId = @"com.loveKey.nyx.CustomKeyboard";
|
||||
|
||||
@implementation AppDelegate
|
||||
|
||||
@@ -30,11 +32,15 @@ static NSString * const kKBKeyboardExtensionBundleId = @"com.keyBoardst.CustomKe
|
||||
[KBNetworkManager shared].enabled = YES;
|
||||
/// 获取网络权限
|
||||
[self getNetJudge];
|
||||
/// Bugly
|
||||
|
||||
#if !DEBUG
|
||||
/// Bugly
|
||||
BuglyConfig *buglyConfig = [BuglyConfig new];
|
||||
/// 设置GroupID进行配置
|
||||
// buglyConfig.applicationGroupIdentifier = @"";
|
||||
[Bugly startWithAppId:BuglyId config:buglyConfig];
|
||||
#endif
|
||||
|
||||
// 键盘权限引导改由 KBGuideVC 内部负责;此处不主动弹出。
|
||||
return YES;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user