From ef806765f8ad3a77877b39e3a4301bf7e042a2ac Mon Sep 17 00:00:00 2001 From: Eric Liang Date: Thu, 21 Jul 2022 14:15:22 +0800 Subject: [PATCH] upgrade to v3.3.2 --- ChangeLog.md | 5 + app/build.gradle | 2 +- .../java/im/floo/floolib/BMXGroupManager.java | 2 +- .../main/java/im/floo/floolib/BMXMessage.java | 16 -- .../drawable-v24/ic_launcher_foreground.xml | 34 ---- .../res/drawable/ic_launcher_background.xml | 170 ------------------ app/src/main/res/layout/activity_main.xml | 109 ----------- app/src/main/res/values/colors.xml | 6 - app/src/main/res/values/strings.xml | 3 - app/src/main/res/values/styles.xml | 11 -- 10 files changed, 7 insertions(+), 351 deletions(-) delete mode 100644 app/src/main/res/drawable-v24/ic_launcher_foreground.xml delete mode 100644 app/src/main/res/drawable/ic_launcher_background.xml delete mode 100644 app/src/main/res/layout/activity_main.xml delete mode 100644 app/src/main/res/values/colors.xml delete mode 100644 app/src/main/res/values/strings.xml delete mode 100644 app/src/main/res/values/styles.xml diff --git a/ChangeLog.md b/ChangeLog.md index fb226b2..7c99185 100644 --- a/ChangeLog.md +++ b/ChangeLog.md @@ -1,6 +1,11 @@ # floo-android Changelog [蓝莺IM](https://www.lanyingim.com/),是由美信拓扑团队研发的新一代即时通讯云服务,SDK设计简单集成方便,服务采用云原生技术和多云架构,私有云也可按月付费。 +## 3.3.2 - 2022/07/20 +优化: +1. 删除无用的资源文件和API。 +2. 纠正错误的API命名。 + ## 3.3.1 - 2022/07/09 优化: 1. 推送账号与IM账号共存时会话列表获取策略。 diff --git a/app/build.gradle b/app/build.gradle index ea06bfa..a85f648 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -5,7 +5,7 @@ android { defaultConfig { targetSdkVersion 27 versionCode 1 - versionName "3.3.1.20220709" + versionName "3.3.2.20220720" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" minSdkVersion 21 } diff --git a/app/src/main/java/im/floo/floolib/BMXGroupManager.java b/app/src/main/java/im/floo/floolib/BMXGroupManager.java index 146ef91..0e91a92 100644 --- a/app/src/main/java/im/floo/floolib/BMXGroupManager.java +++ b/app/src/main/java/im/floo/floolib/BMXGroupManager.java @@ -70,7 +70,7 @@ public void onPostExecute(BMXErrorCode code) { * @param forceUpdate 设置为true强制从服务器获取,本地获取失败的情况sdk会自动从服务器获取 * @param callBack BMXErrorCode,搜索返回的群组信息 **/ - public void getGroupList(final long groupId, final boolean forceUpdate,final BMXDataCallBack callBack) { + public void getGroupInfo(final long groupId, final boolean forceUpdate,final BMXDataCallBack callBack) { final BMXGroup group = new BMXGroup(); new AsyncExecutor().exec(new AsyncExecutor.Task() { @Override diff --git a/app/src/main/java/im/floo/floolib/BMXMessage.java b/app/src/main/java/im/floo/floolib/BMXMessage.java index 51ca9e8..e1ab9b9 100644 --- a/app/src/main/java/im/floo/floolib/BMXMessage.java +++ b/app/src/main/java/im/floo/floolib/BMXMessage.java @@ -309,14 +309,6 @@ public int groupAckCount() { return flooJNI.BMXMessage_groupAckCount(swigCPtr, this); } - /** - * 设置消息已读groupAckCount数目(SDK 内部调用接口,上层不应该调用) - * @param count 设置群消息已读数目 - */ - public void setGroupAckCount(int count) { - flooJNI.BMXMessage_setGroupAckCount(swigCPtr, this, count); - } - /** * 群消息未读AckCount数目 * @return int @@ -325,14 +317,6 @@ public int groupAckUnreadCount() { return flooJNI.BMXMessage_groupAckUnreadCount(swigCPtr, this); } - /** - * 设置消息未读groupAckCount数目(SDK 内部调用接口,上层不应该调用) - * @param count 设置群消息未读数目 - */ - public void setGroupAckUnreadCount(int count) { - flooJNI.BMXMessage_setGroupAckUnreadCount(swigCPtr, this, count); - } - /** * 群消息是否全部已读 * @return bool diff --git a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml b/app/src/main/res/drawable-v24/ic_launcher_foreground.xml deleted file mode 100644 index 1f6bb29..0000000 --- a/app/src/main/res/drawable-v24/ic_launcher_foreground.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - diff --git a/app/src/main/res/drawable/ic_launcher_background.xml b/app/src/main/res/drawable/ic_launcher_background.xml deleted file mode 100644 index 0d025f9..0000000 --- a/app/src/main/res/drawable/ic_launcher_background.xml +++ /dev/null @@ -1,170 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml deleted file mode 100644 index 0f1f8db..0000000 --- a/app/src/main/res/layout/activity_main.xml +++ /dev/null @@ -1,109 +0,0 @@ - - - - - - -