Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
0596c6e
rename unSubscribe to unsubscribe.
dujiepeng Aug 15, 2022
4393b4d
Merge branch 'flutter2_stable' into du_dev
dujiepeng Sep 7, 2022
7468e6c
Merge branch 'dev_4.0.0+4' into du_dev
dujiepeng May 5, 2023
a04b3a9
add chinese api doc.
dujiepeng May 10, 2023
20793a4
change ios to support multiple_engine.
dujiepeng May 10, 2023
a4a0c70
Merge branch 'lit' into dev_4.0.2
dujiepeng May 10, 2023
97cb555
add chinese docs.
dujiepeng May 10, 2023
2381575
add android support multiple_engine.
dujiepeng May 11, 2023
6247c2d
add fetch message options
dujiepeng May 15, 2023
4f54927
merge 4.0.0+5 into current.
dujiepeng May 15, 2023
5fa2aae
add fetch history message method.
dujiepeng May 15, 2023
e7f5bce
add group attributs methods.
dujiepeng May 17, 2023
03c7d10
update
dujiepeng May 17, 2023
51f52d7
add reaction operation files.
dujiepeng May 17, 2023
a36d0b1
change fetchGroupMember attributes method.
dujiepeng May 19, 2023
d5e81eb
fix android bugs.
dujiepeng May 19, 2023
5d5a650
fix callback execute multiple times when hot reload.
dujiepeng May 22, 2023
b9b92e1
fix callback execute multiple times when hot reload on ios
dujiepeng May 22, 2023
bfe0397
add multi device roam message removed event.
dujiepeng May 24, 2023
ef3701a
fix fetchChatRoomAttributes crash when keys is null.
dujiepeng May 29, 2023
4e607cb
add onAppActiveNumberReachLimit callback.
dujiepeng May 29, 2023
371aa66
update: fetch message method to support direction.
dujiepeng May 30, 2023
56ec6ef
update
dujiepeng May 30, 2023
304aa83
optimize android
dujiepeng Jun 9, 2023
4381877
optimize android
dujiepeng Jun 9, 2023
b343592
reset ignore files.
dujiepeng Jun 16, 2023
7431908
fix fetch group member attributes error.
dujiepeng Jun 16, 2023
3cc568e
fix: ios fetchMessagesByOptions error.
dujiepeng Jun 16, 2023
082e4af
fix: ios deleteMessagesWithTs error.
dujiepeng Jun 16, 2023
772545e
dart files format
dujiepeng Jun 20, 2023
4567d12
update ios to 403
dujiepeng Jun 25, 2023
03d0ed7
update android to 403
dujiepeng Jun 25, 2023
1d8be17
add leave chatroom reason
dujiepeng Jun 26, 2023
662105d
update
dujiepeng Jul 11, 2023
5395c13
fix reaction operation error.
dujiepeng Jul 11, 2023
056597b
add flutter side code.
dujiepeng Jul 13, 2023
9657cbd
add ios side code.
dujiepeng Jul 13, 2023
1025acc
add android sied code.
dujiepeng Jul 14, 2023
8f003b4
fix ios connection callback nonexecution.
dujiepeng Jul 14, 2023
901af3c
fix ios error.
dujiepeng Jul 17, 2023
88a8f17
fix android attributes error.
dujiepeng Jul 18, 2023
58525ab
fix android isLoggedInBefore logic.
dujiepeng Jul 18, 2023
5757d30
fix ios multi event error.
dujiepeng Jul 19, 2023
2417797
fix android modify message error.
dujiepeng Jul 19, 2023
2599842
change api referance.
dujiepeng Jul 19, 2023
0ea8291
add ios bind fcm token method.
dujiepeng Jul 26, 2023
dc421c0
upgrade native dependencies
dujiepeng Jul 27, 2023
e4869d3
fix bugs.
dujiepeng Aug 2, 2023
4e1bce9
change kick device api.
dujiepeng Aug 3, 2023
07588b3
upgrade android sdk to 411.
dujiepeng Aug 4, 2023
28c85ce
fix ios delete remote message error.
dujiepeng Aug 8, 2023
a0ddd6c
update api referance.
dujiepeng Aug 10, 2023
2c14ff3
update
dujiepeng Aug 10, 2023
ba837e5
update
dujiepeng Aug 10, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
91 changes: 36 additions & 55 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,63 +1,44 @@

# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.dart_tool/
.idea
.atom/
.buildlog/
.history
.svn/
migrate_working_dir/

# IntelliJ related
*.iml
*.ipr
*.iws
.idea/

# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
.vscode
# *.iml
gitpull.sh
gitpush.sh

# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/

build/
*.lock
*.*~
example/*.lock
example/ios/Podfile.lock.classpath
.project
.settings
**/*.classpath

# Android related
# **/android/**/gradle-wrapper.jar
**/android/.gradle
**/android/captures/
# **/android/gradlew
# **/android/gradlew.bat
**/android/local.properties
**/android/**/GeneratedPluginRegistrant.java
**/android/key.properties
*.jks
# Symbolication related
app.*.symbols

# iOS/XCode related
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
# android/gradle/wrapper/gradle-wrapper.properties
# Obfuscation related
app.*.map.json

.history/
**/*/.flutter-plugins-dependencies
.fvm/
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
52 changes: 51 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,54 @@
## NEXT
## 4.1.0

#### 新增:
- 增加 `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;


## 4.0.2

#### 新增:
- 增加 `EMGroupManager#setMemberAttributes` 方法,用于设置群成员属性;
- 增加 `EMGroupManager#fetchMemberAttributes` 和 `GroupManager#fetchMembersAttributes` 方法用户获取群成员属性;
- 增加 `EMGroupEventHandler#onAttributesChangedOfGroupMember` 群成员属性变更回调;
- 增加 `EMChatManager#fetchHistoryMessagesByOption` 方法;
- 增加 `EMConversation#deleteMessagesWithTs` 方法;
- 增加 `EMMessage#deliverOnlineOnly` 属性用于设置只向在线用户投递消息;

#### 修复:
- 修复安卓 hot reload 后回调多次的问题;
- 修复iOS 获取聊天室属性key传null导致的崩溃问题;

#### 优化:
- 为`ChatManager#fetchHistoryMessages` 方法增加获取方向;

## 4.0.0+7

#### 修复
- 修复初始化无返回的问题。

## 4.0.0+6

#### 修复
- 修复下载附件结束后状态不准确的问题。

## 4.0.0+7
- 修复初始化问题。
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ tasks.withType(JavaCompile){

dependencies {
api 'androidx.appcompat:appcompat:1.1.0'
implementation 'io.hyphenate:hyphenate-chat:4.0.1'
implementation 'io.hyphenate:hyphenate-chat:4.1.1'
}
Loading