Compare commits

..

2 Commits

Author SHA1 Message Date
Brett
92dd3adad5 Correct homepage and other information. 2023-11-17 17:01:22 +08:00
Brett
ebae12f11d fix: 'Fix return value type of 'getFriendsInfo'. 2023-11-17 16:45:22 +08:00
3 changed files with 6 additions and 6 deletions

View File

@@ -15,7 +15,7 @@ class FriendshipManager {
/// Query Friend Information /// Query Friend Information
/// [userIDList] List of user IDs /// [userIDList] List of user IDs
Future<List<FriendInfo>> getFriendsInfo({ Future<List<FullUserInfo>> getFriendsInfo({
required List<String> userIDList, required List<String> userIDList,
String? operationID, String? operationID,
}) => }) =>
@@ -26,7 +26,7 @@ class FriendshipManager {
"userIDList": userIDList, "userIDList": userIDList,
"operationID": Utils.checkOperationID(operationID), "operationID": Utils.checkOperationID(operationID),
})) }))
.then((value) => Utils.toList(value, (v) => FriendInfo.fromJson(v))); .then((value) => Utils.toList(value, (v) => FullUserInfo.fromJson(v)));
/// Send a Friend Request, the other party needs to accept the request to become friends. /// Send a Friend Request, the other party needs to accept the request to become friends.
/// [userID] User ID to be invited /// [userID] User ID to be invited

View File

@@ -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.4.0+1'; static const version = '3.4.0+2';
static const _channel = const MethodChannel('flutter_openim_sdk'); static const _channel = const MethodChannel('flutter_openim_sdk');

View File

@@ -1,8 +1,8 @@
name: flutter_openim_sdk name: flutter_openim_sdk
description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source. description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source.
version: 3.4.0+1 version: 3.4.0+2
homepage: https://www.rentsoft.cn homepage: https://www.openim.io
repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter repository: https://github.com/openimsdk/open-im-sdk-flutter
environment: environment:
sdk: ">=2.12.0 <3.0.0" sdk: ">=2.12.0 <3.0.0"