You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When I send messages to the mobile end through the web, the app is in an unopened state. No matter how many messages the web end sends, when the mobile end opens, only one message is displayed
If you stay in the chat scene, you can retrieve the message history when you enter the foreground from the background, or retrieve the message history in reverse.
If you stay in the chat scene, you can retrieve the message history when you enter the foreground from the background, or retrieve the message history in reverse.If you stay in the chat scene, you can retrieve the message history when you enter the foreground from the background, or retrieve the message history in reverse.如果停留在聊天场景中,可以从后台进入前台时检索消息历史记录,也可以反向检索消息历史记录。
Firstly, when I went to retrieve the conversation list, there were clearly seven unread messages, but only one. Then when I entered the chat, the only chat record I checked was this one
Describe the bug
When I send messages to the mobile end through the web, the app is in an unopened state. No matter how many messages the web end sends, when the mobile end opens, only one message is displayed
配置代码
Future initOpenIM() async {
}
Get contact list
getList() async {
final chat = Provider.of(context, listen: false);
int? status = await OpenIM.iMManager.getLoginStatus();
if(status!=3){
Navigator.popAndPushNamed(context, Routes.login);
}
List list = await OpenIM.iMManager.conversationManager
.getAllConversationList()
;
chat.setConversationList(list);
}
Retrieve local chat records
SearchResult result = await OpenIM.iMManager.messageManager
.searchLocalMessages(
conversationID: conversationID,
messageTypeList: [101, 102, 103, 104, 105],
keywordList: [],
searchTimePosition: 0,
searchTimePeriod: 0,
pageIndex: pageIndex,
count: 30);
Steps to reproduce the behavior:
4.查看消息列表也只有一条
Version information
The text was updated successfully, but these errors were encountered: