Environmental Requirements

iOS Mobile App SDK v3.7 is compatible with XCode 10, Swift version 4.2.1 (swiftlang-1000.11.42 clang-1000.11.45.1) and is supported on iOS versions 10 through 12.

iOS SDK 3.7 compatibility with XCode 10.2, Swift 5 will be released as 3.7.1 on or before April 5 2019.

API Updates

LPAMSFacade.swift

New method for 3.7:

public class func resolveConversation(_ conversation: Conversation, completion: (() -> Void)? = {()})
public class func resolveConversationForConversationQuery(_ conversationQuery: ConversationParamProtocol, completion: (() -> Void)? = {()})

Deprecated method (3.6.1):

public class func resolveConversation(_ conversation: Conversation)
public class func resolveConversationForConversationQuery(_ conversationQuery: ConversationParamProtocol)

LPConversationViewParams.swift

New for 3.7

LPConversationViewParams initializer requires LPConversationHistoryControlParam

Changes for 3.6.1

LPConversationViewParams initializer takes optional LPConversationHistoryControlParam

LPConversationHistoryControlParam.swift

New for 3.7

LPConversationHistoryControlParam can no longer be nil for ConversationViewController

Changes for 3.6.1

LPConversationHistoryControlParam can be nil for ConversationViewController

SocketRocket

New for 3.7 Namespacing for SR dependency.

Bug Fixes

  • Signup/Unauthenticated Users were unable to start a new Conversation after PCS.
  • Web socket Handler crashed the host-app in production.
  • SDK crashes when receiving an empty Structured Content Card.
  • When clicking the default back button, the socket wouldn't close.
  • PCS would not show when the user resolved a conversation using a Custom View.
  • In-app push sometimes showed the real message instead of the masking message.
  • Memory Leaks found in SDK.
  • Local Notification were displayed on alert rather than on top of the screen.
  • Namespacing internal 3rd party libraries to prevent a collision.