HarmonyOSBaseLibs/BuildProfile.ets
徐勤民 76da5c673e feat(miniapp): 添加 Sentry 日志记录功能并优化环境切换逻辑
- 在 MiniAppManager 中引入 SentryHelper 用于发送开发阶段测试日志
- 优化厂商切换逻辑,增加对不同切换场景的日志记录
- 调整环境索引设置逻辑,确保全局环境值正确更新
- 注释掉 CossCertManager 中不必要的客户端 ID 清除代码
- 更新 BuildProfile 配置文件中的版本号和调试模式设置
2025-12-19 14:46:38 +08:00

17 行
520 B
Plaintext

/**
* Use these variables when you tailor your ArkTS code. They must be of the const type.
*/
export const HAR_VERSION = '1.0.11';
export const BUILD_MODE_NAME = 'debug';
export const DEBUG = true;
export const TARGET_NAME = 'default';
/**
* BuildProfile Class is used only for compatibility purposes.
*/
export default class BuildProfile {
static readonly HAR_VERSION = HAR_VERSION;
static readonly BUILD_MODE_NAME = BUILD_MODE_NAME;
static readonly DEBUG = DEBUG;
static readonly TARGET_NAME = TARGET_NAME;
}