Messages are not visible in iOS chat after user gets authenticated and opens the chat again.



Data ultimo post: 27 mar 2025

We have Zendesk chat implemented in our native iOS app. ZendeskSDKMessaging version; 2.30.1

The case is:

1. Not logged in user opens the app and starts the chat. It's working as expected. User can write and see his messages and chat responses.

2. User logs in to our app.

3. We generate the JWT token in order to authenticate that user in Zendesk. We send the token via sdk method: Zendesk.instance?.loginUser(with: jwt)

4. On completion of loginUser we present Zendesk.instance?.messaging?.messagingViewController() (the same way as we do for not authenticated user)

5. This time user can try to send messages but he won't see them on the chat, also no chat responses are visible. Sometimes only first message is visible but nothing more.

6. The problem persist even when user closes the chat controller and logs out using Zendesk.instance?.logoutUser()

7. Killing and reopening the app is the only way to fix this

 

 


1

2

0 commenti

Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post