Repository navigation
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 anunreadCountDelegatenow 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 withGladlyError.noConversationExistsinstead ofGladlyError.internalError. If your app logs or reportsinternalError, 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.