Skip to content

Releases: Kommunicate-io/Kommunicate-iOS-SDK

6.2.1

20 Aug 06:20
Compare
Choose a tag to compare

Enhancements

  • Added support to post rich message button notifications.
    An observer can be added for 'RichMessageButtonSelected notification as follows:
NotificationCenter.default.addObserver(self, selector: #selector(tappedButton), name: NSNotification.Name("RichMessageButtonSelected"), object: nil)```

6.2.0

19 Aug 06:26
Compare
Choose a tag to compare

Fixes

  • Fix for launch conversation error

Enhancements

  • Updated bot detail API

6.1.1

07 Jul 08:04
Compare
Choose a tag to compare

Enhancements

  • Support for passing custom data to bot platform

6.1.0

23 Jun 05:57
Compare
Choose a tag to compare

Enhancements

  • Moved Kommunicate folder under Sources for SPM support.
  • Added support to update metadata while creating a conversation.

6.0.0

04 May 16:34
Compare
Choose a tag to compare

Enhancements

  • Added Swift Package Manager support for Kommunicate.
  • Added a configuration option that prevents the user from sending a message when a conversation is assigned to a bot.
    Kommunicate.kmConversationViewConfiguration.restrictMessageTypingWithBots = true
  • Now, the conversation assignee can be updated in an existing conversation using Kommunicate.createConversation() method.
  • Feedback input option will be shown every time when a conversation is resolved.

5.14.0

24 Mar 20:10
Compare
Choose a tag to compare

Enhancements

  • Now, we'll show/hide away message on agent change.
  • Message style options like font will be applied to HTML messages as well.

Fixes

  • Fixed an issue where character limit was not shown when a conversation is assigned to a Dialogflow bot.

5.13.0

27 Feb 14:00
Compare
Choose a tag to compare

Enhancements

  • Added an option to set the regex for validating phone number in the pre-chat view.

  • Added config options to show and make certain fields mandatory in the pre-chat view.

    let preChatVC = KMPreChatFormViewController(configuration: Kommunicate.defaultConfiguration)
    var preChatConfig = KMPreChatFormViewController.PreChatConfiguration()
    preChatConfig.optionsToShow = [.name, .phoneNumber] // Set all the fields that will be shown to the user
    preChatConfig.mandatoryOptions = [.phoneNumber] // Set all the fields that are mandatory
    preChatConfig.allowEmailOrPhoneNumber = false
    preChatConfig.phoneNumberRegexPattern = "\\d{2}" // Set phone number validation pattern
    preChatVC.preChatConfiguration = preChatConfig
    preChatVC.delegate = self // set the delegate to self to receive callbacks
    self.present(preChatVC, animated: false, completion: nil) // To present
  • Added an option to change the number of lines of the card template's description label.

5.12.0

16 Feb 09:07
Compare
Choose a tag to compare

Enhancements

  • Added an option to set the team ID when creating a new conversation.
     let kmConversation = KMConversationBuilder()
          .withTeamId("<pass a team ID>")
          .useLastConversation(false)
          .build()
    
      Kommunicate.createConversation(conversation: kmConversation) { result in
          switch result {
          case .success(let conversationId):
              print("Conversation id: ",conversationId)
              // Launch conversation
          case .failure(let kmConversationError):
              print("Failed to create a conversation: ", kmConversationError)
          }
      }
  • Now, images in image rich message(template ID = 9) can be tapped and previewed just like normal attachment messages.

5.11.0

01 Feb 14:45
Compare
Choose a tag to compare

Enhancements

  • Updated default value of primary color and sent message's text color to match the web plugin colors.

Fixes

  • Fixed an issue where message part of the quick reply and form template was getting truncated from the bottom.

5.10.0

19 Jan 16:14
Compare
Choose a tag to compare

Enhancements

  • Added a check for whitespace and newline characters in the user ID.
  • Added an option to show/hide different message menu options. [ALS]
    Kommunicate.defaultConfiguration.messageMenuOptions = [.copy]
  • Now, chat bar's attachment color config will be applied to the bottom part of the chat bar as well. [ALS]
    Kommunicate.defaultConfiguration.chatBarAttachmentViewBackgroundColor = .cyan