[Problem/Question]
// Detailed description of issue.
I first access the channel/chat and the audio messages load fine and show their length correctly but when I leave the tab (its in the background) for some time (enough for the client to disconnect ~30seconds) and then come back to the tab - the audio message length show as “NaN”.
I see the reloaded “metaArrays” for each message is now empty.
// If problem, please fill out the below. If question, please delete.
[UIKit Version]
// What version of the SDK are you using?
“@sendbird/chat”: “4.9.6”,
“@sendbird/uikit-react”: “3.6.5”,
[Reproduction Steps]
// Please provide reproduction steps and, if possible, code snippets.
Load the chat.
Send audio messages.
go to another browser tab.
wait ~30seconds
Go back to chat’s tab, see the ui refresh with the spinner in its center.
Check audio message length in UI.
[Frequency]
// How frequently is this issue occurring?
always.
[Current impact]
// How is this currently impacting your implementation?
experience is awkward, looks broken.
Screenshot for first load with “mediaArrays”:
Screenshot after teh chat reconnects with empty “mediaArrays”: