JavaScript
Version 1.3.0
**New Features**
- Introduced auto generation of SDK configuration files which are automatically included in the SDK package when using the Download button from the imiconnect app asset configuration page.
- Introduced the ‘Form’ message type to provide support for forms within in-app messaging.
- Introduced a new parameter to pass the reason for closing a chat when calling the close thread method. Introduced the deleteMessage method which deletes an in-app message by transaction id.
- Introduced new attributes to the response callback when uploading files to expose the preview and URL.
- Introduced handling for deduplication of incoming in app messages.
- MessageStatus is now available as an enumeration on the ICMessage object.
- Removed an check that prevented publishMessage from executing unless there was an active broker connection.
**Enhancements and Improvements**
- Various internal improvements and enhancements
Version 1.2.1
This version of the JS SDK requires that devices are re-registered with the imiconnect platform in order for access tokens to be issued.
If upgrading from a previous version of SDK, please ensure that you execute your registration code again. The imi.imiconnect.isRegistered()
method is queried to determine the current registration status and conditionally execute your registration code.
**Enhancements and Improvements**
* Fixed of issue of getting an error when users already registered with older version of JS SDK upgrade to the latest SDK version``.
Version 1.2.0
**New Features**
* Added support for ``fetchThreads``, ``fetchMessages``, ``fetchUnreadThreadCount``, ``getSDKVersion methods`` .
Version 1.1
**New Features**
* Added support to specify the asset folder and root folder path
* Added missing properties.
**Enhancements and Improvements**
* Added property ``message.getOutgoing()`` & ``message.setOutgoing()``
* Allowed republished message on originating device
* Now returning title on Thread in callback of createThread.Updated 9 months ago