This commit is contained in:
hrxiang 2021-09-18 10:32:25 +08:00
parent 95c88cb61a
commit be1c10fb38
7 changed files with 15 additions and 13 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -2,12 +2,15 @@
* TODO: Describe initial release.
### 0.0.2
## 0.0.2
1将 markSingleMessageHasRead、markGroupMessageHasRead和getTotalUnreadMsgCount方法从类MessageManager移动到类ConversationManager。</br>
2修改setFriendInfo方法的参数。</br>
3修改createGroup和setGroupInfo方法的参数。
### 0.0.3
upgrade sdk </br>
fix bug </br>
## 0.0.3
upgrade sdk </br>
fix bug </br>
## 0.0.4
将createCustomMessage方法入参从Uint8List替换为Map

View File

@ -276,12 +276,12 @@ public class CommonUtil {
return getParamValue(methodCall, KEY_MESSAGE_DES);
}
public static byte[] getCustomMessageData(MethodCall methodCall) {
return getParamValue(methodCall, KEY_CUSTOM_MESSAGE_DATA);
public static String getCustomMessageData(MethodCall methodCall) {
return getSDKJsonParam(methodCall, KEY_CUSTOM_MESSAGE_DATA);
}
public static byte[] getCustomMessageExt(MethodCall methodCall) {
return getParamValue(methodCall, KEY_CUSTOM_MESSAGE_EXT);
public static String getCustomMessageExt(MethodCall methodCall) {
return getSDKJsonParam(methodCall, KEY_CUSTOM_MESSAGE_EXT);
}
public static String getQuoteMessageText(MethodCall methodCall) {

View File

@ -68,7 +68,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.0.2"
version: "0.0.4"
flutter_test:
dependency: "direct dev"
description: flutter

BIN
lib/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1,5 +1,4 @@
import 'dart:convert';
import 'dart:typed_data';
import 'package:flutter/services.dart';
import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
@ -318,8 +317,8 @@ class MessageManager {
///
Future<Message> createCustomMessage({
required Uint8List data,
required Uint8List extension,
required Map<String, dynamic> data,
required Map<String, dynamic> extension,
required String description,
}) {
return _channel

View File

@ -1,6 +1,6 @@
name: flutter_openim_sdk
description: openim flutter plugin.
version: 0.0.3
version: 0.0.4
homepage: https://www.rentsoft.cn
repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter