Repository navigation
Releases
Version 1.4.1
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.
Version 1.4.0
What's Changed
startConversation(messages:options:)— hand a customer over to Gladly with the context your app has already gathered, sent as their opening messages.GladlyStartConversationOptions.suppressWelcomeMessage— leave out the message Chat shows before the customer has said anything, so the messages you pass are the first thing in the conversation.GladlyStartConversationDelegate— reports when a handoff could not be sent, most often because the customer already has an open conversation.
Notes for integrators
Call set(user:) before startConversation, not after.
If the customer already has an open conversation the messages are not sent — the chat widget will not start a second conversation on top of one that is open. Chat is still presented, on the existing conversation, and the failure is reported to GladlyStartConversationDelegate. To guarantee a fresh conversation, call logout(), then set(user:), then try again.
Requires an org whose chat endpoint has no URL display rules configured. They cannot be evaluated in a WebView, and the widget will not finish loading if one is present.
Minimum iOS version is unchanged at 11.0.
Version 1.3.6
What's Changed
- Increased max supported UIHeaderConfiguration text length to 50 chars
Version 1.3.5
Bug Fixes
Fix calculating and rendering unread message count
Version 1.3.4
Bug Fixes
- Prevent user from becoming stuck when clicking on an image to view full screen.
Version 1.3.3
Bug Fixes
Fix a bug that prevent forms in away message from being submitted
Version 1.3.2
Bug Fixes
- Prevent application from crashing when the out-of-office message included an invalid or unsupported link.
Version 1.3.1
Update
- Added iPhone SE 2 device model detection
Version 1.3.0
API Changes
- Added option to configure date format
Version 1.2.8
Bugs
- Clear all new messages notifications from iOS notification center after chat conversation view is shown.