Let's integrate our SDK in few minutes
#
Getting startedDownload SDK Files
Download#
With ChatIf you are already integrated the chat SDK in your application, then pass additional signalServer property with server URL in SDK.initializeSDK method.
Add the following callback listeners in callbackListeners property in SDK.initializeSDK method first argument object.
#
Example#
Without ChatWe should initialize the SDK.
#
Initialize SDK#
Request ParamsArguments | Description | Type | Required |
---|---|---|---|
xmppSocketHost | XMPP Socket Host Domain Name | String | true |
xmppSocketPort | XMPP Socket Port Number | Number | true |
ssl | SSL | Boolean | true |
encryptKey | Message Encryption Key | String | true |
apiBaseUrl | API Base URL for Backend | String | true |
signalServer | Signal Server URL | String | true |
callbackListeners | Check here for callback listerners | Object | true |
#
Response ParamsArguments | Description | Type |
---|---|---|
statusCode | Status Code | Number |
message | Success/Error Message | String |
#
Example RequestNote: Check the Callback Event Listener Section to learn more about callbacks