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

rtmClient.publish with storeInHistory=true returns error -15005

Offen
#228 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Dart
Sterne
107
Forks
99
Ø Merge
1 Min.
Gemergte PRs (30 T.)
1

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.