Skip to content

Commit 909a18e

Browse files
authored
Merge pull request #550 from easemob/dev_4.1.0
Dev 4.1.0
2 parents 855ff0e + ba837e5 commit 909a18e

File tree

95 files changed

+10390
-3452
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+10390
-3452
lines changed

.gitignore

Lines changed: 36 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,63 +1,44 @@
1-
1+
# Miscellaneous
2+
*.class
3+
*.log
4+
*.pyc
5+
*.swp
26
.DS_Store
3-
.dart_tool/
4-
.idea
7+
.atom/
8+
.buildlog/
9+
.history
10+
.svn/
11+
migrate_working_dir/
12+
13+
# IntelliJ related
14+
*.iml
15+
*.ipr
16+
*.iws
17+
.idea/
18+
19+
# The .vscode folder contains launch configuration and tasks you configure in
20+
# VS Code which you may wish to be included in version control, so this line
21+
# is commented out by default.
522
.vscode
6-
# *.iml
7-
gitpull.sh
8-
gitpush.sh
923

24+
# Flutter/Dart/Pub related
25+
**/doc/api/
26+
**/ios/Flutter/.last_build_id
27+
.dart_tool/
28+
.flutter-plugins
29+
.flutter-plugins-dependencies
1030
.packages
31+
.pub-cache/
1132
.pub/
33+
/build/
1234

13-
build/
14-
*.lock
15-
*.*~
16-
example/*.lock
17-
example/ios/Podfile.lock.classpath
18-
.project
19-
.settings
20-
**/*.classpath
21-
22-
# Android related
23-
# **/android/**/gradle-wrapper.jar
24-
**/android/.gradle
25-
**/android/captures/
26-
# **/android/gradlew
27-
# **/android/gradlew.bat
28-
**/android/local.properties
29-
**/android/**/GeneratedPluginRegistrant.java
30-
**/android/key.properties
31-
*.jks
35+
# Symbolication related
36+
app.*.symbols
3237

33-
# iOS/XCode related
34-
**/ios/**/*.mode1v3
35-
**/ios/**/*.mode2v3
36-
**/ios/**/*.moved-aside
37-
**/ios/**/*.pbxuser
38-
**/ios/**/*.perspectivev3
39-
**/ios/**/*sync/
40-
**/ios/**/.sconsign.dblite
41-
**/ios/**/.tags*
42-
**/ios/**/.vagrant/
43-
**/ios/**/DerivedData/
44-
**/ios/**/Icon?
45-
**/ios/**/Pods/
46-
**/ios/**/.symlinks/
47-
**/ios/**/profile
48-
**/ios/**/xcuserdata
49-
**/ios/.generated/
50-
**/ios/Flutter/App.framework
51-
**/ios/Flutter/Flutter.framework
52-
**/ios/Flutter/Generated.xcconfig
53-
**/ios/Flutter/app.flx
54-
**/ios/Flutter/app.zip
55-
**/ios/Flutter/flutter_assets/
56-
**/ios/Flutter/flutter_export_environment.sh
57-
**/ios/ServiceDefinitions.json
58-
**/ios/Runner/GeneratedPluginRegistrant.*
59-
# android/gradle/wrapper/gradle-wrapper.properties
38+
# Obfuscation related
39+
app.*.map.json
6040

61-
.history/
62-
**/*/.flutter-plugins-dependencies
63-
.fvm/
41+
# Android Studio will place build artifacts here
42+
/android/app/debug
43+
/android/app/profile
44+
/android/app/release

CHANGELOG.md

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,54 @@
1-
## NEXT
1+
## 4.1.0
2+
3+
#### 新增:
4+
- 增加 `EMOptions#osType`属性和`EMOptions#deviceName`属性,用户设置设备类型和设备名称;
5+
- 增加 `Combine` 消息类型,用于合并转发消息;
6+
- 增加 `EMChatManager#fetchCombineMessageDetail` 方法;
7+
- 增加 `EMChatManager#modifyMessage` 方法用户修改已发送的消息,目前只支持文本消息消息;
8+
- 增加 `EMChatEventHandler#onMessageContentChanged` 回调,用户监听消息编辑实现;
9+
- 增加 `EMClient#fetchLoggedInDevices` 方法,可是使用token获取已登录的设备列表;
10+
- 增加 `EMClient#kickDevice` 方法,可以使用 token 踢掉指定设备;
11+
- 增加 `EMClient#kickAllDevices` 方法,可以使用 token 踢掉所有已登录设备;
12+
- 增加 `EMChatManager#fetchConversation` 方法,获取服务器会话列表,原方法 `EMChatManager#getConversationsFromServer` 作废;
13+
- 增加 `EMChatManager#pinConversation` 方法,实现在服务器会话列表中 置顶/取消置顶 会话;
14+
- 增加 `hatManager#fetchPinnedConversations` 方法,从服务器获取已置顶会话;
15+
- 增加 `EMMessage#receiverList` 属性,用于在群组/聊天室中发送定向消息;
16+
17+
#### 修复:
18+
- 修复 ios 中无法收到 `EMConnectionEventHandler#onConnected``EMConnectionEventHandler#onDisconnected` 的问题;
19+
- 修复 安卓消息中,发送方`attributes` 中包含string类型,接收方变为int类型的问题;
20+
21+
#### 优化:
22+
- 离开聊天室 `EMChatRoomEventHandler#onRemovedFromChatRoom` 回调中增加离开原因;
23+
- 被其他设备踢下线 `EMConnectionEventHandler#onUserDidLoginFromOtherDevice` 回调中增加操作人deviceName;
24+
25+
26+
## 4.0.2
27+
28+
#### 新增:
29+
- 增加 `EMGroupManager#setMemberAttributes` 方法,用于设置群成员属性;
30+
- 增加 `EMGroupManager#fetchMemberAttributes``GroupManager#fetchMembersAttributes` 方法用户获取群成员属性;
31+
- 增加 `EMGroupEventHandler#onAttributesChangedOfGroupMember` 群成员属性变更回调;
32+
- 增加 `EMChatManager#fetchHistoryMessagesByOption` 方法;
33+
- 增加 `EMConversation#deleteMessagesWithTs` 方法;
34+
- 增加 `EMMessage#deliverOnlineOnly` 属性用于设置只向在线用户投递消息;
35+
36+
#### 修复:
37+
- 修复安卓 hot reload 后回调多次的问题;
38+
- 修复iOS 获取聊天室属性key传null导致的崩溃问题;
39+
40+
#### 优化:
41+
-`ChatManager#fetchHistoryMessages` 方法增加获取方向;
42+
43+
## 4.0.0+7
44+
45+
#### 修复
46+
- 修复初始化无返回的问题。
47+
48+
## 4.0.0+6
49+
50+
#### 修复
51+
- 修复下载附件结束后状态不准确的问题。
252

353
## 4.0.0+7
454
- 修复初始化问题。

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ tasks.withType(JavaCompile){
4848

4949
dependencies {
5050
api 'androidx.appcompat:appcompat:1.1.0'
51-
implementation 'io.hyphenate:hyphenate-chat:4.0.1'
51+
implementation 'io.hyphenate:hyphenate-chat:4.1.1'
5252
}

0 commit comments

Comments
 (0)