[Update] Add deinitialization function.

This commit is contained in:
std-s
2023-08-11 15:36:06 +08:00
parent 8c50207f7c
commit b3c0b16092
3 changed files with 15 additions and 1 deletions

View File

@@ -428,6 +428,11 @@ class IMManager {
));
}
/// 反初始化SDK
Future<dynamic> unInitSDK() {
return _channel.invokeMethod('unInitSDK', _buildParam({}));
}
/// 登录
/// [userID] 用户id
/// [token] 登录token从业务服务器上获取