Subchannel unread count real time update

My application needs to update the unread count for a subchannel in real time.

I am following the steps in the docs, but the live subchannel does not update in real time.

Here is my code:

It seems that the handleLiveObject function executes once, which is when the page first loads. When I receive a message in the subchannel, the function is not executed.

Hello @keyyuwan , From the issue you’ve inquired about, we’d like to ask if you have already called this function:

import { Client } from '@amityco/ts-sdk';



Yes, I am calling this function when I authenticate the amity client
Captura de tela 2024-03-11 134116

@keyyuwan Let me pass to check with my team.

Hello, may I know which version of the Amity TypeScript SDK you’re currently using, please?

I am using version 6.18.0

Hello, thank you for confirming the details. We’ve successfully replicated the issue and we will keep you updated on our progress.

Okay, I’ll await your update

1 Like

Hello, could you please re-test? We have addressed the real-time issue.