更新Socket中的参数初始化

This commit is contained in:
董宏宇
2021-01-25 17:16:26 +08:00
parent 9f9b6ea569
commit 123839b52f

View File

@@ -78,6 +78,7 @@ public class SocketManager implements IMogoCloudSocketManager, Callback {
.setChannelId(SocketServicesConstants.SOCKET_CHANNEL_ID)
.setOpenAnalytics(true)
.setSn(cloudClientConfig.getSn())
.setToken(cloudClientConfig.getToken())
.setDebug(cloudClientConfig.isShowDebugLog());
SocketClient.getInstance().start(context);
}