fix im connect error

This commit is contained in:
2025-09-09 17:53:52 +08:00
parent 0aa3069efe
commit 95d6522a54
5 changed files with 29 additions and 12 deletions

View File

@@ -101,10 +101,11 @@ object AppState {
val initConfig = InitConfig(
"https://im.ravenow.ai/api",//SDK api地址
"wss:///im.ravenow.ai/msg_gateway",//SDK WebSocket地址
"wss://im.ravenow.ai/msg_gateway",//SDK WebSocket地址
OpenIMManager.getStorageDir(context),//SDK数据库存储目录
)
// initConfig.isLogStandardOutput = true;
// initConfig.logLevel = 6
// 使用 OpenIMManager 初始化 SDK
OpenIMManager.initSDK(context, initConfig)