This commit is contained in:
hrxiang 2021-10-11 09:22:56 +08:00
parent 239b0893d5
commit 91f40333dc
13 changed files with 27 additions and 25 deletions

View File

@ -1,3 +1,6 @@
## 0.0.9+1
Fix bug
## 0.0.9
Add ios support
@ -14,7 +17,7 @@ Fix bug
## 0.0.5
Upgrade sdk </br>
fix message error bug
Fix message error bug
## 0.0.4

View File

@ -19,7 +19,7 @@ A flutter IM plugin for android and ios.
#### 1Add dependency in yaml
flutter_openim_sdk: ^0.0.9
flutter_openim_sdk: ^0.0.9+1
#### 2Import package

View File

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

View File

@ -1,6 +1,5 @@
import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
abstract class AdvancedMsgListener {
/// Uniquely identifies
final String id;

View File

@ -35,7 +35,8 @@ class OnFriendshipListener extends FriendshipListener {
@override
void friendApplicationListAccept(UserInfo u) {
if (null != onFriendApplicationListAccept) onFriendApplicationListAccept!(u);
if (null != onFriendApplicationListAccept)
onFriendApplicationListAccept!(u);
}
@override
@ -45,12 +46,14 @@ class OnFriendshipListener extends FriendshipListener {
@override
void friendApplicationListDeleted(UserInfo u) {
if (null != onFriendApplicationListDeleted) onFriendApplicationListDeleted!(u);
if (null != onFriendApplicationListDeleted)
onFriendApplicationListDeleted!(u);
}
@override
void friendApplicationListReject(UserInfo u) {
if (null != onFriendApplicationListReject) onFriendApplicationListReject!(u);
if (null != onFriendApplicationListReject)
onFriendApplicationListReject!(u);
}
@override

View File

@ -1,6 +1,5 @@
import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
class OnMsgSendProgressListener extends MsgSendProgressListener {
Function(String msgID, int progress)? onProgress;

View File

@ -50,8 +50,7 @@ class MessageManager {
'receiver': userID ?? '',
'groupID': groupID ?? '',
'onlineUserOnly': onlineUserOnly,
}))
/*.then((value) => _toObj(value))*/;
})) /*.then((value) => _toObj(value))*/;
}
/// Find all history message

View File

@ -4,6 +4,7 @@ import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
class ConversationInfo {
String conversationID;
/// [ConversationType]
int? conversationType;
String? userID;

View File

@ -1,5 +1,3 @@
class Message {
String? clientMsgID;
String? serverMsgID;
@ -69,8 +67,8 @@ class Message {
this.mergeElem,
});
Message.fromJson(Map<String, dynamic> json)
/* : clientMsgID = json['clientMsgID']*/ {
Message.fromJson(
Map<String, dynamic> json) /* : clientMsgID = json['clientMsgID']*/ {
clientMsgID = json['clientMsgID'];
serverMsgID = json['serverMsgID'];
createTime = json['createTime'];

View File

@ -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
version: 0.0.9+1
homepage: https://www.rentsoft.cn
repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter