ref |> 升级融云SDK 1.1.0
Signed-off-by: xugenyuan <xugenyuan@wondertek.com.cn>
Showing
5 changed files
with
4 additions
and
3 deletions
| @@ -17,6 +17,6 @@ | @@ -17,6 +17,6 @@ | ||
| 17 | "wdRouter": "file:../../commons/wdRouter", | 17 | "wdRouter": "file:../../commons/wdRouter", |
| 18 | "wdTracking": "file:../../features/wdTracking", | 18 | "wdTracking": "file:../../features/wdTracking", |
| 19 | "wdShare": "file:../../features/wdShare", | 19 | "wdShare": "file:../../features/wdShare", |
| 20 | - "@rongcloud/imlib": "file:./src/main/libs/RongIMLib.har" | 20 | + "@rongcloud/imlib": "file:./src/main/libs/RongIMLib-HarmonyOS-signed-V1.1.0.har" |
| 21 | } | 21 | } |
| 22 | } | 22 | } |
| @@ -14,7 +14,7 @@ import { LiveMessageIsHistoryMessage, LiveMessageOptType } from 'wdBean/src/main | @@ -14,7 +14,7 @@ import { LiveMessageIsHistoryMessage, LiveMessageOptType } from 'wdBean/src/main | ||
| 14 | 14 | ||
| 15 | const TAG = "LiveRoomManager" | 15 | const TAG = "LiveRoomManager" |
| 16 | 16 | ||
| 17 | -export class LiveRoom extends ChatroomStatusListener { | 17 | +export class LiveRoom implements ChatroomStatusListener { |
| 18 | 18 | ||
| 19 | connectRoomBaseInfo?: LiveRoomBaseInfo | 19 | connectRoomBaseInfo?: LiveRoomBaseInfo |
| 20 | 20 | ||
| @@ -28,7 +28,6 @@ export class LiveRoom extends ChatroomStatusListener { | @@ -28,7 +28,6 @@ export class LiveRoom extends ChatroomStatusListener { | ||
| 28 | onLiveMessage?: (liveRoomItemBean: LiveRoomItemBean) => void | 28 | onLiveMessage?: (liveRoomItemBean: LiveRoomItemBean) => void |
| 29 | 29 | ||
| 30 | constructor(baseInfo?: LiveRoomBaseInfo) { | 30 | constructor(baseInfo?: LiveRoomBaseInfo) { |
| 31 | - super() | ||
| 32 | this.connectRoomBaseInfo = baseInfo | 31 | this.connectRoomBaseInfo = baseInfo |
| 33 | } | 32 | } |
| 34 | 33 |
| @@ -184,9 +184,11 @@ export class LiveRoomManager { | @@ -184,9 +184,11 @@ export class LiveRoomManager { | ||
| 184 | if (data.data) { | 184 | if (data.data) { |
| 185 | success(data.data) | 185 | success(data.data) |
| 186 | } else { | 186 | } else { |
| 187 | + Logger.error(TAG, "接口没返回im token") | ||
| 187 | fail(data.message) | 188 | fail(data.message) |
| 188 | } | 189 | } |
| 189 | }).catch((error: Error) => { | 190 | }).catch((error: Error) => { |
| 191 | + Logger.error(TAG, "error " + JSON.stringify(error)) | ||
| 190 | fail(error.message) | 192 | fail(error.message) |
| 191 | }) | 193 | }) |
| 192 | }) | 194 | }) |
sight_harmony/features/wdDetailPlayLive/src/main/libs/RongIMLib-HarmonyOS-signed-V1.1.0.har
0 → 100644
This file is too large to display.
This file is too large to display.
-
Please register or login to post a comment