bugly模拟器可用配置

修改包名
This commit is contained in:
2025-11-03 21:04:39 +08:00
parent 5af2612ff7
commit cb5819e330
20 changed files with 278 additions and 278 deletions

View File

@@ -11,18 +11,18 @@
#import <Security/Security.h>
#import "KBConfig.h" // 访 KBConfig.h
NSString * const kKBDarwinAuthChanged = @"com.keyBoardst.auth.changed";
NSString * const kKBDarwinAuthChanged = @"com.loveKey.nyx.auth.changed";
NSNotificationName const KBAuthChangedNotification = @"KBAuthChangedNotification";
static NSString * const kKBKCService = @"com.keyBoardst.auth"; // service
static NSString * const kKBKCService = @"com.loveKey.nyx.auth"; // service
static NSString * const kKBKCAccount = @"session"; // account
// Keychain Sharing 访 target entitlements
// Capabilities Keychain Sharing
// $(AppIdentifierPrefix)com.keyBoardst.shared
// TN6HHV45BB.com.keyBoardst.shared
// $(AppIdentifierPrefix)com.loveKey.nyx.shared
// TN6HHV45BB.com.loveKey.nyx.shared
#ifndef KB_KEYCHAIN_ACCESS_GROUP
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.keyBoardst.shared"
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.loveKey.nyx.shared"
#endif
// <=

View File

@@ -25,16 +25,16 @@
// --- 认证/共享钥匙串 配置 ---
// 若已在 Capabilities 中启用 Keychain Sharing并添加访问组
// $(AppIdentifierPrefix)com.keyBoardst.shared
// 运行时会展开为TN6HHV45BB.com.keyBoardst.shared
// $(AppIdentifierPrefix)com.loveKey.nyx.shared
// 运行时会展开为TN6HHV45BB.com.loveKey.nyx.shared
// KBAuthManager 通过下面的宏定位访问组;如需修改,可在 Build Settings 或前缀头中覆盖该宏。
#ifndef KB_KEYCHAIN_ACCESS_GROUP
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.keyBoardst.shared"
#define KB_KEYCHAIN_ACCESS_GROUP @"TN6HHV45BB.com.loveKey.nyx.shared"
#endif
// 键盘扩展的 Bundle Identifier用于 App 侧检测是否已添加该键盘)
#ifndef KB_KEYBOARD_EXTENSION_BUNDLE_ID
#define KB_KEYBOARD_EXTENSION_BUNDLE_ID @"com.keyBoardst.CustomKeyboard"
#define KB_KEYBOARD_EXTENSION_BUNDLE_ID @"com.loveKey.nyx.CustomKeyboard"
#endif
// --- 常用宏 ---

View File

@@ -7,7 +7,7 @@
#import "KBConfig.h"
// Keychain 访
static NSString * const kKBPermService = @"com.keyBoardst.perm";
static NSString * const kKBPermService = @"com.loveKey.nyx.perm";
static NSString * const kKBPermAccount = @"full_access"; // /0/1/2
@implementation KBKeyboardPermissionManager

View File

@@ -11,7 +11,7 @@
NSString * const KBLocalizationDidChangeNotification = @"KBLocalizationDidChangeNotification";
// Target
static NSString * const kKBLocService = @"com.keyBoardst.loc";
static NSString * const kKBLocService = @"com.loveKey.nyx.loc";
static NSString * const kKBLocAccount = @"lang"; // UTF8
@interface KBLocalizationManager ()