Files
keyboard/keyBoard/Class/Shared/KBConfig.h
CodeST d8a84dc478 处理上架的问题
1:处理了openurl 拉起问题
2:去掉了http
3 隐私等等
2026-03-05 14:30:07 +08:00

41 lines
1.3 KiB
C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
//
// KBConfig.h
// 主 App 与键盘扩展共用的配置/宏。
//
// 在此处修改后,会通过 PCH 被两个 target 同步引用。
//
#ifndef KBConfig_h
#define KBConfig_h
// 基础baseUrl
#ifndef KB_BASE_URL
#define KB_BASE_URL @"https://devcallback.loveamorkey.com/api"
#endif
// Universal Links 通用链接
#ifndef KB_UL_BASE
#define KB_UL_BASE @"https://app.tknb.net/ul"
#endif
#define KB_UL_LOGIN KB_UL_BASE @"/login"
#define KB_UL_SETTINGS KB_UL_BASE @"/settings"
// 充值入口的通用链接
#define KB_UL_RECHARGE KB_UL_BASE @"/recharge"
// --- 认证/共享钥匙串 配置 ---
// 若已在 Capabilities 中启用 Keychain Sharing并添加访问组
// $(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.loveKey.nyx.shared"
#endif
// 说明:
// - 该头文件同时被主 App 与键盘扩展引用;
// - 设备/窗口相关的 UIKit 辅助方法(如 UIApplication.sharedApplication在扩展中不可用
// 请放到主 App 的前缀头或具体业务代码中,避免引入扩展不允许的 API。
#endif /* KBConfig_h */