fix im connect error
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user