release 4.1.0
·
116 commits
to flutter2_stable
since this release
新增:
- 增加
EMOptions#osType属性和EMOptions#deviceName属性,用户设置设备类型和设备名称; - 增加
Combine消息类型,用于合并转发消息; - 增加
EMChatManager#fetchCombineMessageDetail方法; - 增加
EMChatManager#modifyMessage方法用户修改已发送的消息,目前只支持文本消息消息; - 增加
EMChatEventHandler#onMessageContentChanged回调,用户监听消息编辑实现; - 增加
EMClient#fetchLoggedInDevices方法,可是使用token获取已登录的设备列表; - 增加
EMClient#kickDevice方法,可以使用 token 踢掉指定设备; - 增加
EMClient#kickAllDevices方法,可以使用 token 踢掉所有已登录设备; - 增加
EMChatManager#fetchConversation方法,获取服务器会话列表,原方法EMChatManager#getConversationsFromServer作废; - 增加
EMChatManager#pinConversation方法,实现在服务器会话列表中 置顶/取消置顶 会话; - 增加
hatManager#fetchPinnedConversations方法,从服务器获取已置顶会话; - 增加
EMMessage#receiverList属性,用于在群组/聊天室中发送定向消息;
修复:
- 修复 ios 中无法收到
EMConnectionEventHandler#onConnected和EMConnectionEventHandler#onDisconnected的问题; - 修复 安卓消息中,发送方
attributes中包含string类型,接收方变为int类型的问题;
优化:
- 离开聊天室
EMChatRoomEventHandler#onRemovedFromChatRoom回调中增加离开原因; - 被其他设备踢下线
EMConnectionEventHandler#onUserDidLoginFromOtherDevice回调中增加操作人deviceName;