Client API v1.3.9
Fixed an issue where system messages would be shown in the push notification message.
Fixed an issue where system messages would be shown in the push notification message.
Added support for the new Rich message formats.
Fixed an issue where you did not see the correct identification when calling GET /services/account
Fixed an issue where the isTyping field would not be sent when using the GET /messages endpoint.
Added support for the new Service API feature (v2.2) to receive custom Agent attributes.
When doing the GET /messages call, you'll now receive the custom Agent attributes.
content type of the /services call was image/png and it
should've been application/jsonFixed a small typo in the API documentation under the payload for sending Media as a message.
POST /messages (Press the "Media" button to switch the payload)
It said the datatype of the media.id field should be an integer, but it should have been a string.
Fixed issue where you would not get the binary data when doing a GET /media/ call.
aria-labelAdded new setting which allows you to hide the input field (in the invite notification)
when the client is outside the defined business hours (weekdays). hideInputAfterBusinessHours
Added translation for aria labels
Changed default pushType to 6, which is the "universal" FCM solution created in the Client API,
docs
Added code which will create the key pushType in your localStorage with the supported pushType this library has (in
this case 6) as the value. This key/value is queried on start of the chat. If the key doesn't exists BUT the pushToken
key does exist, we can assume that this pushToken is used with version 3 and we should delete it and re-register
the device with a new pushToken which is generated for version 6.