ref |> 启动听云SDK
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
2 changed files
with
3 additions
and
3 deletions
| @@ -4,7 +4,7 @@ import tingyun, { LogLevel } from '@tingyun/harmonyos'; | @@ -4,7 +4,7 @@ import tingyun, { LogLevel } from '@tingyun/harmonyos'; | ||
| 4 | 4 | ||
| 5 | export class TingyunAPM { | 5 | export class TingyunAPM { |
| 6 | 6 | ||
| 7 | - private static TINGYUN_APP_KEY = "" //TODO: | 7 | + private static TINGYUN_APP_KEY = "ebe0ed7f09f54af681201b784858dde2" |
| 8 | private static TINGYUN_REDIRECT_HOST = "wkrt.tingyun.com" | 8 | private static TINGYUN_REDIRECT_HOST = "wkrt.tingyun.com" |
| 9 | 9 | ||
| 10 | private static logEnable() { | 10 | private static logEnable() { |
| @@ -107,8 +107,8 @@ export class StartupManager { | @@ -107,8 +107,8 @@ export class StartupManager { | ||
| 107 | 107 | ||
| 108 | private initTingyun() { | 108 | private initTingyun() { |
| 109 | // 暂时不能用,不初始化 | 109 | // 暂时不能用,不初始化 |
| 110 | - // Logger.debug(TAG, "App tingyunAPM 初始化") | ||
| 111 | - // TingyunAPM.initApp(this.context!, DeviceUtil.clientId()) | 110 | + Logger.debug(TAG, "App tingyunAPM 初始化") |
| 111 | + TingyunAPM.initApp(this.context!, DeviceUtil.clientId()) | ||
| 112 | } | 112 | } |
| 113 | 113 | ||
| 114 | private initSensorData() { | 114 | private initSensorData() { |
-
Please register or login to post a comment