Skip to content

Version 1.4.1

Latest

Choose a tag to compare

@dmalmkvist dmalmkvist released this 12 Nov 19:09
a8ac535

What's Changed

Improvements to unread counts. No public API changes, and no code changes are needed to upgrade.

  • Fewer network requests. Apps that use getUnreadCount() or set an unreadCountDelegate now make noticeably fewer requests, especially when several messages arrive at once.
  • No more errors for expired chat sessions. When a customer hasn't opened chat in a while and their chat session has expired, getUnreadCount() now returns a count of 0 with GladlyError.noConversationExists instead of GladlyError.internalError. If your app logs or reports internalError, you'll see far fewer of them. Unread counts come back after the customer next opens chat.
  • Polling pauses instead of retrying. If the unread count can't be fetched because the customer's chat session is no longer valid, polling pauses instead of retrying on every interval. It resumes on its own, for example on the next app launch or after the customer opens chat.

Minimum iOS version is unchanged at 11.0.