Ticket chats are shown as unread after restart
Hello! I am using Zendesk Mobile SDK to provide users the possibility to chat with support team. There are several configs (with different appId and clientId) of mobile SDK, for different purposes: for development, testing and production. There is an issue that is happening only on one config of SDK and is not happening on the others.
When user is launching an app for the first time, when we request list of chats with the support team, they are shown as сompletely unread (unread count is equal to number of messages). When we mark them as read, close app and then launch it again, they are shown as unread again.
We are using latest version of Zendesk Mobile SDK for iOS: 'ZendeskSupportProvidersSDK', ‘: 7.0’,’ ZendeskSupportSDK', ‘: 7.0’
'ZendeskChatSDK', ‘: 4.0’.
This issue happens only with iOS sdk, the same functionality works fine on Android devices.
Can you help me with this issue? What may cause such behavior with only one config of SDK?
-
I have solved the problem.
Zendesk instance was initialized several times with different data, and local data from previous instance was deleted. Read count is stored locally.
Please sign in to leave a comment.
1 Comments