- Added support for setting teamId, conversationAssignee and clientConversationId in iOS
- Added support for launchAndCreateIfEmpty with skipConversationList.
- Updated android SDK version to 2.1.4 and iOS SDK version to 5.12.0. Android release notes:
Example code:
let conversationObject = {
'appId': '<APP_ID>' ,// The [APP_ID](https://dashboard.kommunicate.io/settings/install) obtained from kommunicate dashboard.
'teamId': 'TEAM_ID', // pass team ID if you want to assign to a particular team
'conversationAssignee : ' ', // pass agent/botId if you want to assign to particular agent or bot
'clientConversationId': ' ', // pass any unique id to identify the conversation with that Id
'skipConversationList': true // pass true if you want to skip the conversation list while using launchAndCreateIfEmpty parameter
}
kommunicate.conversationBuilder(conversationObject, (conversationId) => {
//The response will be a conversationId.
console.log("Kommunicate create conversation successful the conversationId is : " + conversationId);
}, (error) =>{
console.log("Kommunicate create conversation failed : " + error);
});
Functions to be discontinued in version 1.0.0 :
-- Not Required --
- registerPushNotification
- processPushNotification
- updatePushNotificationToken
-- Migrate to conversationBuilder for --
- startNewConversation
- startOrGetConversation
- startSingleChat