nim 1.0.0-rc.3 nim: ^1.0.0-rc.3 copied to clipboard
A Flutter plugin for NetEase NIM SDK on Android and iOS.
nim-sdk-flutter #
NIM Flutter plugin for NetEase IM SDK. This plugin allows Flutter apps to chat online that offers real-time text transmission over the Internet.
Usage #
Add nim-sdk
as a dependency in your pubspec.yaml file.
Android #
Change the minimum Android sdk version to 21 (or higher) in your android/app/build.gradle
file.
minSdkVersion 21
Feature #
Message #
- 提供一对一的聊天功能,支持发送消息类型包括:文本消息、图片消息、文件。
- 消息发送详见 MsgService
- 消息接受 MsgObserver
ChatRoom #
- 提供多人聊天室功能,支持多人聊天,消息类型包括:文本消息、图片消息、文件。
- 消息发送详见 ChatRoomService *消息发送详见 ChatRoomObserver
UserService #
*提供好友相关功能,包括添加好友、删除好友、黑名单、好友列表等。 *好友相关功能详见 UserService *好友相关变更详见 UserObserver