This commit is contained in:
parent
98227756df
commit
1db776e23d
@ -1,3 +1,7 @@
|
|||||||
|
## 3.5.1-alpha.7
|
||||||
|
|
||||||
|
- [Bug fixes and performance enhancements.](https://github.com/openimsdk/openim-sdk-core/releases/tag/v3.5.1-alpha.7)
|
||||||
|
-
|
||||||
## 3.5.1-alpha.2
|
## 3.5.1-alpha.2
|
||||||
|
|
||||||
- [Bug fixes and performance enhancements.](https://github.com/openimsdk/openim-sdk-core/releases/tag/v3.5.1-alpha.2)
|
- [Bug fixes and performance enhancements.](https://github.com/openimsdk/openim-sdk-core/releases/tag/v3.5.1-alpha.2)
|
||||||
|
@ -52,5 +52,5 @@ android {
|
|||||||
dependencies {
|
dependencies {
|
||||||
// 本地依赖,现将aar复制到libs/io/openim/core-sdk/0.0.1/ 下,命名core-sdk-0.0.1.aar
|
// 本地依赖,现将aar复制到libs/io/openim/core-sdk/0.0.1/ 下,命名core-sdk-0.0.1.aar
|
||||||
// implementation 'io.openim:core-sdk:0.0.1@aar'
|
// implementation 'io.openim:core-sdk:0.0.1@aar'
|
||||||
implementation 'io.openim:core-sdk:3.5.1-alpha.2@aar'
|
implementation 'io.openim:core-sdk:3.5.1-alpha.7@aar'
|
||||||
}
|
}
|
@ -67,6 +67,7 @@ public class IMManager extends BaseManager {
|
|||||||
Open_im_sdk.uploadLogs(
|
Open_im_sdk.uploadLogs(
|
||||||
new OnBaseListener(result, methodCall),
|
new OnBaseListener(result, methodCall),
|
||||||
value(methodCall, "operationID"),
|
value(methodCall, "operationID"),
|
||||||
|
value(methodCall, "ex"),
|
||||||
new OnUploadLogsListener(result, methodCall)
|
new OnUploadLogsListener(result, methodCall)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
@ -69,11 +69,12 @@ public class UserManager extends BaseManager {
|
|||||||
jsonValue(methodCall, "userIDs"),
|
jsonValue(methodCall, "userIDs"),
|
||||||
value(methodCall, "groupID"));
|
value(methodCall, "groupID"));
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
public void setSelfInfoEx(MethodCall methodCall, MethodChannel.Result result) {
|
public void setSelfInfoEx(MethodCall methodCall, MethodChannel.Result result) {
|
||||||
Open_im_sdk.setSelfInfoEx(
|
Open_im_sdk.setSelfInfoEx(
|
||||||
new OnBaseListener(result, methodCall),
|
new OnBaseListener(result, methodCall),
|
||||||
value(methodCall, "operationID"),
|
value(methodCall, "operationID"),
|
||||||
jsonValue(methodCall));
|
jsonValue(methodCall));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
@ -86,7 +86,8 @@ public class IMMananger: BaseServiceManager {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func uploadLogs(methodCall: FlutterMethodCall, result: @escaping FlutterResult) {
|
func uploadLogs(methodCall: FlutterMethodCall, result: @escaping FlutterResult) {
|
||||||
Open_im_sdkUploadLogs(BaseCallback(result: result), methodCall[string: "operationID"], UploadLogsListener(channel: self.channel))
|
Open_im_sdkUploadLogs(BaseCallback(result: result), methodCall[string: "operationID"], method[string: "ex"], UploadLogsListener(channel: self
|
||||||
|
.channel))
|
||||||
}
|
}
|
||||||
|
|
||||||
func updateFcmToken(methodCall: FlutterMethodCall, result: @escaping FlutterResult) {
|
func updateFcmToken(methodCall: FlutterMethodCall, result: @escaping FlutterResult) {
|
||||||
|
@ -54,10 +54,11 @@ public class UserManager: BaseServiceManager {
|
|||||||
Open_im_sdkGetUsersInfoWithCache(BaseCallback(result: result), methodCall[string: "operationID"], methodCall[jsonString: "userIDs"],
|
Open_im_sdkGetUsersInfoWithCache(BaseCallback(result: result), methodCall[string: "operationID"], methodCall[jsonString: "userIDs"],
|
||||||
methodCall[string: "groupID"])
|
methodCall[string: "groupID"])
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
func setSelfInfoEx(methodCall: FlutterMethodCall, result: @escaping FlutterResult){
|
func setSelfInfoEx(methodCall: FlutterMethodCall, result: @escaping FlutterResult){
|
||||||
Open_im_sdkSetSelfInfoEx(BaseCallback(result: result), methodCall[string: "operationID"], methodCall.toJsonString())
|
Open_im_sdkSetSelfInfoEx(BaseCallback(result: result), methodCall[string: "operationID"], methodCall.toJsonString())
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
public class UserListener: NSObject, Open_im_sdk_callbackOnUserListenerProtocol {
|
public class UserListener: NSObject, Open_im_sdk_callbackOnUserListenerProtocol {
|
||||||
|
@ -17,7 +17,7 @@ A new Flutter project.
|
|||||||
s.dependency 'Flutter'
|
s.dependency 'Flutter'
|
||||||
s.platform = :ios, '11.0'
|
s.platform = :ios, '11.0'
|
||||||
|
|
||||||
s.dependency 'OpenIMSDKCore','3.5.1-alpha.2'
|
s.dependency 'OpenIMSDKCore','3.5.1-alpha.7'
|
||||||
s.static_framework = true
|
s.static_framework = true
|
||||||
# s.vendored_frameworks = 'Framework/*.framework'
|
# s.vendored_frameworks = 'Framework/*.framework'
|
||||||
# Flutter.framework does not contain a i386 slice.
|
# Flutter.framework does not contain a i386 slice.
|
||||||
|
@ -526,13 +526,15 @@ class IMManager {
|
|||||||
}));
|
}));
|
||||||
|
|
||||||
/// 上传日志
|
/// 上传日志
|
||||||
/// [uploadlogParams] system_type、ex
|
/// [uploadlogParams] ex
|
||||||
Future uploadLogs({
|
Future uploadLogs({
|
||||||
|
String? ex,
|
||||||
String? operationID,
|
String? operationID,
|
||||||
}) =>
|
}) =>
|
||||||
_channel.invokeMethod(
|
_channel.invokeMethod(
|
||||||
'uploadLogs',
|
'uploadLogs',
|
||||||
_buildParam({
|
_buildParam({
|
||||||
|
'ex': ex,
|
||||||
'operationID': Utils.checkOperationID(operationID),
|
'operationID': Utils.checkOperationID(operationID),
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
@ -131,6 +131,7 @@ class UserManager {
|
|||||||
.then((value) => Utils.toList(value, (map) => FullUserInfo.fromJson(map)));
|
.then((value) => Utils.toList(value, (map) => FullUserInfo.fromJson(map)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
Future<String?> setSelfUserInfoEx(
|
Future<String?> setSelfUserInfoEx(
|
||||||
UserInfo userInfo, {
|
UserInfo userInfo, {
|
||||||
String? operationID,
|
String? operationID,
|
||||||
@ -142,7 +143,7 @@ class UserManager {
|
|||||||
'operationID': Utils.checkOperationID(operationID),
|
'operationID': Utils.checkOperationID(operationID),
|
||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
static Map _buildParam(Map param) {
|
static Map _buildParam(Map param) {
|
||||||
param["ManagerName"] = "userManager";
|
param["ManagerName"] = "userManager";
|
||||||
return param;
|
return param;
|
||||||
|
@ -2,7 +2,7 @@ import 'package:flutter/services.dart';
|
|||||||
import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
|
import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
|
||||||
|
|
||||||
class OpenIM {
|
class OpenIM {
|
||||||
static const version = '3.5.1-alpha.2';
|
static const version = '3.5.1-alpha.7';
|
||||||
|
|
||||||
static const _channel = const MethodChannel('flutter_openim_sdk');
|
static const _channel = const MethodChannel('flutter_openim_sdk');
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user