Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
91b0f4eb00 | ||
|
|
bd210e74cb | ||
|
|
0acd81bd70 |
@@ -1,3 +1,7 @@
|
||||
## 3.8.1+1
|
||||
|
||||
- [Bug fixes and performance enhancements.](https://github.com/openimsdk/openim-sdk-core/releases/tag/v3.8.1)
|
||||
|
||||
## 3.8.1
|
||||
|
||||
- [Bug fixes and performance enhancements.](https://github.com/openimsdk/openim-sdk-core/releases/tag/v3.8.1)
|
||||
|
||||
@@ -35,5 +35,7 @@ export 'src/models/notification_info.dart';
|
||||
export 'src/models/search_info.dart';
|
||||
export 'src/models/user_info.dart';
|
||||
export 'src/models/input_status_changed_data.dart';
|
||||
export 'src/models/set_group_member_info.dart';
|
||||
export 'src/models/update_req.dart';
|
||||
export 'src/openim.dart';
|
||||
export 'src/utils.dart';
|
||||
|
||||
@@ -19,7 +19,7 @@ class FriendshipManager {
|
||||
|
||||
/// Query Friend Information
|
||||
/// [userIDList] List of user IDs
|
||||
Future<List<PublicUserInfo>> getFriendsInfo({
|
||||
Future<List<FriendInfo>> getFriendsInfo({
|
||||
required List<String> userIDList,
|
||||
bool filterBlack = false,
|
||||
String? operationID,
|
||||
@@ -32,7 +32,7 @@ class FriendshipManager {
|
||||
'filterBlack': filterBlack,
|
||||
"operationID": Utils.checkOperationID(operationID),
|
||||
}))
|
||||
.then((value) => Utils.toList(value, (v) => PublicUserInfo.fromJson(v)));
|
||||
.then((value) => Utils.toList(value, (v) => FriendInfo.fromJson(v)));
|
||||
|
||||
/// Send a Friend Request, the other party needs to accept the request to become friends.
|
||||
/// [userID] User ID to be invited
|
||||
@@ -69,7 +69,7 @@ class FriendshipManager {
|
||||
.then((value) => Utils.toList(value, (v) => FriendApplicationInfo.fromJson(v)));
|
||||
|
||||
/// Get Friend List, including friends who have been put into the blacklist
|
||||
Future<List<PublicUserInfo>> getFriendList({
|
||||
Future<List<FriendInfo>> getFriendList({
|
||||
String? operationID,
|
||||
bool filterBlack = false,
|
||||
}) =>
|
||||
@@ -80,9 +80,9 @@ class FriendshipManager {
|
||||
'filterBlack': filterBlack,
|
||||
"operationID": Utils.checkOperationID(operationID),
|
||||
}))
|
||||
.then((value) => Utils.toList(value, (v) => PublicUserInfo.fromJson(v)));
|
||||
.then((value) => Utils.toList(value, (v) => FriendInfo.fromJson(v)));
|
||||
|
||||
Future<List<PublicUserInfo>> getFriendListPage({
|
||||
Future<List<FriendInfo>> getFriendListPage({
|
||||
bool filterBlack = false,
|
||||
int offset = 0,
|
||||
int count = 40,
|
||||
@@ -97,7 +97,7 @@ class FriendshipManager {
|
||||
'filterBlack': filterBlack,
|
||||
"operationID": Utils.checkOperationID(operationID),
|
||||
}))
|
||||
.then((value) => Utils.toList(value, (v) => PublicUserInfo.fromJson(v)));
|
||||
.then((value) => Utils.toList(value, (v) => FriendInfo.fromJson(v)));
|
||||
|
||||
/// Get Friend List, including friends who have been put into the blacklist (returns a map)
|
||||
Future<List<dynamic>> getFriendListMap({String? operationID}) => _channel
|
||||
|
||||
@@ -2,7 +2,7 @@ import 'package:flutter/services.dart';
|
||||
import 'package:flutter_openim_sdk/flutter_openim_sdk.dart';
|
||||
|
||||
class OpenIM {
|
||||
static const version = '3.8.1';
|
||||
static const version = '3.8.1+1';
|
||||
|
||||
static const _channel = MethodChannel('flutter_openim_sdk');
|
||||
|
||||
|
||||
@@ -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: 3.8.1
|
||||
version: 3.8.1+1
|
||||
homepage: https://www.openim.io
|
||||
repository: https://github.com/openimsdk/open-im-sdk-flutter
|
||||
|
||||
|
||||
Reference in New Issue
Block a user