环信SDK3.1.0-3.3.1升级改动
1. EaseUI--EaseNotifer.java
if(EMClient.getInstance().chatManager().isSlientMessage(message)){2. EaseConversationAdapter
return;
} (326, 175, 126)
改为if(EaseCommonUtils.isSilentMessage(messages.get(messages.size()-1))){
// 修改的地方 messages.size()-1)有的参数时message , 请注意
return;
}
performFiltering() -- conversationId() 替换 getUserName();3. LnConversationAdapter
(378, 146, 258)(149 本来就存在) conversationId() 替换 getUserName();4. EaseChatFragment
(746) 少去两个方法 (onMessageReadAckReceived, onMessageDeliveryAckReceived)5. EaseChatFragment
添加两个方法(onMessageDelivered, onMessageRead)
EMChatRoomChangeListener -- 全部方法被注释掉了!6. EaseGroupRemoveListener
EaseGroupListener -- (1885)7. CallActivity
(175) EMClient.getInstance().callManager().endCall(); 添加异常处理8. CallActivity
(333) setReceipt() 改为 : setTo ()9. conversationListFragment
(118, 121) -- getUserName() 改为 : conversationId()10. DiagnoseActivity
(67) VERSION 修改!11. GroupDetailsActivity
(1638) 修改了GroupChangeLister12. GroupDetailsActivity
(739) 修改了GroupChangeLister 添加方法 updateGroup(); refreshMembers();13. MainActivity
修改了EMMessageListener()实现的方法 (309)14. MainActivity
修改了EMContactListener()要实现的方法 (435)15. ChatFragment
(750) position = conversation.getAllMessages().indexOf(message);16. PublicChatRooomsActivity
(132) ChatRoomChangeListener修改 -- (206) 复写监听方法17. VideoCallActivity
(274, 235) 电话断了 枚举变量修改18. VideoCallActivity
(431, 432, 433 ) -- getVideoTimedelay 改为 getVideoLatency19. VoiceCallActivity
getVideoFramerate 改为 getVideoFrameRate getVideoLostcnt 改为
(203, )DISCONNNECTED (挂断电话) 改为 DISCONNECTED (249)20. EaseChatRow
ERROR --
(339) 重写updateView方法, 添加多参数方法21. EaseUI
(147) options.setNumberOfMessagesLoaded(1); 方法弃用22. EaseUI
(176, 181) onMessageDeliveryAckReceived() onMessageReadAckReceived()方法弃用 重新添加两个方法23. DemoHelper
onMessageDelivered 和 onMessageRead
(524) 原有方法 : onInvitationReceived, onInvitationAccpted, onInvitationDeclined24. DemoHelper
onUserRemoved, onGroupDestroy, onApplicationReceived, onApplicationAccept, onApplicationDeclined
onAutoAcceptInvitationFromGroup,
onInvitationAccpted, -- 方法名错误 少个Accpted 改为 Accepted
onGroupDestroy 改为onGroupDestroyed
(846) EMContactListener -- onContactAgreed 改为 onFriendRequestAccepted25. DemoHelper
onContactRefused 改为 onFriendRequestDeclined
(1119) onMessageReadAckReceived, onMessageDeliveryAckReceived 去除本文章纯属原创,转载请说明出处! 谢谢!!!!!!
添加 onMessageDelivered , onMessageRead