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
My message is a local message, which was inserted using insertSingleMessageToLocalStorage. Then I called setMessageLocalEx to modify ex, and the callback method indicated success. However, when I retrieved the Message from getAdvancedHistoryMessageList, I couldn't obtain this ex. I downloaded the SQLite DB and found that the chat record data table contains both ex and local_ex. The setMessageLocalEx method successfully set local_ex, but I couldn't find a way to get local_ex in the Android OpenIM SDK. I can only get ex, but it's null.
Screenshots Link
No response
The text was updated successfully, but these errors were encountered:
I reviewed the source code of openim-sdk-core and found that the message structure includes localEx. So, I pulled down the source code of open-im-sdk-android, added localEx to the Message object, recompiled the aar, and placed it in the project. Now, I can obtain localEx. This should be considered a minor bug.
Based on your description, it seems that the Android SDK is missing this field, which is causing the retrieval to not work correctly. If confirmed, could you please submit a PR to this repository? Thank you for your contribution.
OpenIM SDK Version
3.8.3
OpenIM Server Version
3.8.3
SDK Platform
Android SDK
Device Model
ALL
Operating System Version
ALL
Bug Description and Steps to Reproduce
My message is a local message, which was inserted using
insertSingleMessageToLocalStorage
. Then I calledsetMessageLocalEx
to modifyex
, and the callback method indicated success. However, when I retrieved theMessage
fromgetAdvancedHistoryMessageList
, I couldn't obtain thisex
. I downloaded the SQLite DB and found that the chat record data table contains bothex
andlocal_ex
. ThesetMessageLocalEx
method successfully setlocal_ex
, but I couldn't find a way to getlocal_ex
in the Android OpenIM SDK. I can only getex
, but it's null.Screenshots Link
No response
The text was updated successfully, but these errors were encountered: