-
Notifications
You must be signed in to change notification settings - Fork 101
Description
Version of the agora_rtm
When using Agora-Flutter-RTM-SDK version 2.2.5, publishing a message with storeInHistory=true fails with error code -15005 (historyNotAvailable).
Console RTM Storage permission is already enabled.
If storeInHistory=false, the publish works normally.
To Reproduce
Platforms affected
- Android
- iOS
- macOS
- Windows
- Web
Steps to reproduce
1.Download Agora-Flutter-RTM-SDK-2.2.5
2.Run example
Expected results
[2025-09-15 12:01:08.738][63375774][I][iris_rtm_api_engine.cc:149] api name RtmClient_publish_2d36e93 result {"requestId":9,"result":0}
[2025-09-15 12:01:08.738][63375781][D][iris_macro.h:28] event RtmEventHandler_onPublishResult_4f46899, data: {"errorCode":-15005,"requestId":9,"requestId_str":"9"}
Actual results
[2025-09-15 12:01:08.738][63375774][I][iris_rtm_api_engine.cc:149] api name RtmClient_publish_2d36e93 result {"requestId":9,"result":0}
[2025-09-15 12:01:08.738][63375781][D][iris_macro.h:28] event RtmEventHandler_onPublishResult_4f46899, data: {"errorCode":-15005,"requestId":9,"requestId_str":"9"}
Code sample
[2025-09-15 12:01:08.738][63375774][I][iris_rtm_api_engine.cc:149] api name RtmClient_publish_2d36e93 result {"requestId":9,"result":0}
[2025-09-15 12:01:08.738][63375781][D][iris_macro.h:28] event RtmEventHandler_onPublishResult_4f46899, data: {"errorCode":-15005,"requestId":9,"requestId_str":"9"}
Screenshots or Video
Screenshots / Video demonstration
[Upload media here]
Logs
Logs
[Paste your logs here]Flutter Doctor output
Doctor output
[Paste your output here]