AgoraIO-Extensions / AgoraIO-Extensions/Agora-Flutter-RTM-SDK

rtmClient.publish with storeInHistory=true returns error -15005

オープン
#228 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Dart
スター
107
フォーク
99
平均マージ
1分
マージ済み PR(30日)
1

説明

### 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

Image

### 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

```console
[Paste your logs here]
```

### Flutter Doctor output

Doctor output

```console
[Paste your output here]
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。