Upgrade sdk
This commit is contained in:
parent
8112585c69
commit
e3c21ab31e
@ -1,4 +1,4 @@
|
||||
## 0.0.9+6
|
||||
## 1.0.0
|
||||
Fix bug
|
||||
|
||||
## 0.0.9+5
|
||||
|
@ -19,7 +19,7 @@ A flutter IM plugin for android and ios.
|
||||
|
||||
#### 1,Add dependency in yaml
|
||||
|
||||
flutter_openim_sdk: ^0.0.9+6
|
||||
flutter_openim_sdk: ^1.0.0
|
||||
|
||||
#### 2,Import package
|
||||
|
||||
|
@ -51,5 +51,5 @@ android {
|
||||
}
|
||||
}
|
||||
dependencies {
|
||||
implementation 'io.openim:client-sdk:1.0.8@aar'
|
||||
implementation 'io.openim:client-sdk:1.0.9@aar'
|
||||
}
|
@ -45,4 +45,8 @@ public class IMManager {
|
||||
// public void forceReConn(MethodCall methodCall, MethodChannel.Result result) {
|
||||
// Open_im_sdk.forceReConn();
|
||||
// }
|
||||
|
||||
public void setSdkLog(MethodCall methodCall, MethodChannel.Result result) {
|
||||
Open_im_sdk.setSdkLog(CommonUtil.getSDKLog(methodCall));
|
||||
}
|
||||
}
|
||||
|
@ -283,6 +283,10 @@ public class CommonUtil {
|
||||
return getSDKJsonParam(methodCall, KEY_CARD_MESSAGE);
|
||||
}
|
||||
|
||||
public static int getSDKLog(MethodCall methodCall) {
|
||||
return getParamValue(methodCall, KEY_SDK_LOG);
|
||||
}
|
||||
|
||||
//login
|
||||
final static String KEY_UID = "uid";
|
||||
final static String KEY_TOKEN = "token";
|
||||
@ -345,4 +349,6 @@ public class CommonUtil {
|
||||
final static String KEY_GROUP_INFO = "gInfo";
|
||||
final static String KEY_GROUP_MEMBER_ROLE_LIST = "memberList";
|
||||
final static String KEY_GROUP_APPLICATION_INFO = "application";
|
||||
//
|
||||
final static String KEY_SDK_LOG = "sdkLog";
|
||||
}
|
||||
|
@ -869,6 +869,10 @@
|
||||
// skipped method UserRelated.OnMemberKicked with unsupported parameter or return types
|
||||
|
||||
- (void)pinConversation:(NSString* _Nullable)conversationID isPinned:(BOOL)isPinned callback:(id<Open_im_sdkBase> _Nullable)callback;
|
||||
// skipped method UserRelated.Prepare with unsupported parameter or return types
|
||||
|
||||
// skipped method UserRelated.Query with unsupported parameter or return types
|
||||
|
||||
- (void)quitGroup:(NSString* _Nullable)groupId callback:(id<Open_im_sdkBase> _Nullable)callback;
|
||||
- (void)refuseFriendApplication:(id<Open_im_sdkBase> _Nullable)callback uid:(NSString* _Nullable)uid;
|
||||
- (void)refuseGroupApplication:(NSString* _Nullable)application reason:(NSString* _Nullable)reason callback:(id<Open_im_sdkBase> _Nullable)callback;
|
||||
|
Binary file not shown.
@ -370,6 +370,11 @@ class IMManager {
|
||||
.then((value) => _toList(value));
|
||||
}
|
||||
|
||||
///
|
||||
void setSdkLog({required bool enable}) {
|
||||
_channel.invokeMethod('setSdkLog', _buildParam({'sdkLog': enable ? 0 : 1}));
|
||||
}
|
||||
|
||||
///
|
||||
Future<dynamic> forceSyncLoginUerInfo(List<String> uidList) {
|
||||
return _channel.invokeMethod('forceSyncLoginUerInfo', _buildParam({}));
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: flutter_openim_sdk
|
||||
description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source.
|
||||
version: 0.0.9+6
|
||||
version: 1.0.0
|
||||
homepage: https://www.rentsoft.cn
|
||||
repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user