fix bug
This commit is contained in:
parent
95c88cb61a
commit
be1c10fb38
11
CHANGELOG.md
11
CHANGELOG.md
@ -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
|
@ -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) {
|
||||
|
@ -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
BIN
lib/.DS_Store
vendored
Normal file
Binary file not shown.
@ -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
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user