diff --git a/example/pubspec.yaml b/example/pubspec.yaml index 9153888..3e0bad9 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -3,7 +3,7 @@ description: Demonstrates how to use the flutter_openim_sdk plugin. # The following line prevents the package from being accidentally published to # pub.dev using `pub publish`. This is preferred for private packages. -publish_to: 'none' # Remove this line if you wish to publish to pub.dev +#publish_to: 'none' # Remove this line if you wish to publish to pub.dev environment: sdk: ">=2.12.0 <3.0.0" diff --git a/lib/src/manager/im_conversation_manager.dart b/lib/src/manager/im_conversation_manager.dart index 67f56ab..08ac7c9 100644 --- a/lib/src/manager/im_conversation_manager.dart +++ b/lib/src/manager/im_conversation_manager.dart @@ -40,7 +40,7 @@ class ConversationManager { })) .then((value) => _toObj(value)); - /// get conversation by id + /// get conversation list by id list /// Future> getMultipleConversation({ required List conversationIDList, diff --git a/lib/src/manager/im_message_manager.dart b/lib/src/manager/im_message_manager.dart index e228d7c..042708d 100644 --- a/lib/src/manager/im_message_manager.dart +++ b/lib/src/manager/im_message_manager.dart @@ -195,6 +195,7 @@ class MessageManager { .then((value) => _toObj(value)); } + /// Future createImageMessageFromFullPath({required String imagePath}) { return _channel .invokeMethod( @@ -217,6 +218,7 @@ class MessageManager { .then((value) => _toObj(value)); } + /// Future createSoundMessageFromFullPath({ required String soundPath, required int duration, @@ -248,6 +250,7 @@ class MessageManager { .then((value) => _toObj(value)); } + /// Future createVideoMessageFromFullPath({ required String videoPath, required String videoType, @@ -309,6 +312,7 @@ class MessageManager { .then((value) => _toObj(value)); } + /// Future createLocationMessage({ required double latitude, required double longitude, @@ -325,6 +329,7 @@ class MessageManager { .then((value) => _toObj(value)); } + /// Future createCustomMessage({ required Uint8List data, required Uint8List extension, diff --git a/pubspec.yaml b/pubspec.yaml index 2c7c40c..8ba741a 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,8 @@ name: flutter_openim_sdk -description: A new Flutter project. +description: openim flutter plugin. version: 0.0.1 -homepage: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter +homepage: https://www.rentsoft.cn +repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter environment: sdk: ">=2.12.0 <3.0.0"