Pesquisas recentes


Sem pesquisas recentes

Messaging SDK — to check if there is an active chat



Publicado 06 de out. de 2023

Hi! In legacy chat mobile SDKs we had a logic that checks if there is an active chat with the user (in order not to block the app by timeout, what we usually do). We used the below code:

chat.providers()?.chatProvider()?.chatState?.isChatting == true

How should it look like in Messaging? We can not find relevant documentation


1

1

1 comentário

Upvoting the request. The same issue with our implementation in messaging SDK. Is there a way to get information that there is an active conversation in the chat, so we won't initiate our app inactivity timeout?

2


Por favor, entrar para comentar.

Não encontrou o que estava procurando?

Nova publicação