Skip to main content

51 posts tagged with "Web library"

New versions for the web library

View All Tags

Web library v1.1.0

Added

  • The customer can now see when an agent is typing.
  • An agent can now see when a customer is typing.
  • A constructor method that enables you to initialize the messenger (with a custom config) after it is loaded in. If the window.parleySettings is set it will automatically use that config and start up (for backwards compatibility).

Improved

  • The messenger is now fullscreen on most mobile devices (not on tablets).
  • Parley errors prefixed with [Parley Error] that appear in the browser's developer tools console.

Web library v1.0.9

improved

  • The chat is now fullscreen on mobile devices, this makes it easier to use the chat on mobile

Fixed

  • Issue where setting 'hideInviteNotification' was ignored
  • Issue with the buttonLabel, the styling changed when setting your own text instead of the default text

Web library v1.0.6

Fixed

  • Polling interval dit not reset after page reload
  • Issue where on mobile you couldn't click the send button because the button was a div (don't know why that didn't work..)

Web library v1.0.5

Fixed

  • Issue where Safari would complain about function declaration in lexically nested statements
  • Styling issue where the "send button" would show below the invite screen on IE

Web library v1.0.4

Added

  • Added external function for registering a device (so could be used to log someone in without reloading the page) "registerNewDevice()"

Fixed

  • Fixed issue where messenger didn't open (if minimized) upon new message (only opens for new push message, polling doesn't do this yet.)
  • Fixed issue where click on notification didn't open tab if it was closed

Web library v1.0.3

Fixed

  • Fixed issue where system message weren't send when closing chat (it didn't have the headers)
  • Fixed issue where polling was used even though push was ready (push setup was taking too long, when push setup is done we end the polling explicitly)

Web library v1.0.2

Fixed

  • Always use localStorage (used sessionStorage for anon and local for non-anon, but we always want localStorage for both)
  • On every new message, devices call was made and thus device kept registering as a new device (and thus push notifications didn't work because the pushToken was only made initial and bound to that device, but because we kept making new device they had no pushToken)
  • When merging anon with non-anon, pushToken was reset in the device in DB, now the pushToken stays so the non-anon conversation can receive push notifications. To make this possible, we have to store the pushToken in the localStorage