Client API v1.6.3
Fixed an issue where if a Client sends an Image, the Service would receive "📸" instead of the path to the Image. This also caused the web-library to fail when trying to show this Image.
Changes related to bug fixes
View All TagsFixed an issue where if a Client sends an Image, the Service would receive "📸" instead of the path to the Image. This also caused the web-library to fail when trying to show this Image.
Fixed issue that caused the Webhook push notification's message field to be empty in some cases
userAdditionalInformation if you have different chats on different pages on your website./devices call was hardcoded on version 1.2 of the Client API. This is the call made when you have push enabled and the client accepts browser notifications to register a pushToken with your device so you can receive push notifications."you" as the Agent in the conversation export. It now shows "Operator" if the Agent name is not available.default property was always false in the GET /services endpointchangedOwner webhook was not send through the Service Queue. Which meant that your PUT /users/{userId}/owner could take very long to complete if the connected Services were slow to respond.Fixed issue where the "fullscreen" mode, on mobile iOS devices using Safari, was not correctly updating it's height.
There are some devices which are unsupported, here is the list:
Basically, if your device is up-to-date you shouldn't have any problems.
You can now define your business hours for specific dates using the following format:
window.parleySettings = {
"weekdays": [
["Sunday"]
["Monday", 8.00, 22.00],
["Tuesday", 8.00, 22.00],
["Wednesday", 8.00, 22.00],
["Thursday", 8.00, 22.00],
["Friday", 8.00, 22.00],
["Saturday"],
[1603177200, 1603188000] // Tue Oct 20 2020 09:00:00 - 12:00:00 (GMT+0200)
]
};
The way this worked was, whenever your document has focus (document.hasFocus()), it wil never go past the 30 second rule in the polling rules. This was made so any new messages for an "active" conversation would be retrieved faster. This rule now has been extended to also check if you are within the defined business hours; if you are not, the rule will go past 30 seconds (because the chances you get a response from an Agent is rather small here).
/devices endpoint would sometimes take more than 10 seconds.Fixed issue with retrieving the sharedServiceAccountSecret which could hang forever untill the request was cancelled (via GET /services/account/sharedServiceAccountSecret)