Skip to main content

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

Web library v1.0.1

Added

  • Added handler when registering for push fails (it sets the cookie pushReady to false when it fails, so polling can take over)

Fixed

  • Fix for inviteNotification textarea's growing in height on each key press (instead of after each sentence)