Desk360 Docs
Search…
Mobile Chat iOS SDK
Desk360 Mobile Chat SDK for iOS provides simplicity and usability in one place. With this feature, you can provide live support to your customers directly within your app just by writing a few lines of code.

Features

    Talk to your customers using Desk360 panel and make use of Desk360 Chat SDK to identify a user and provide contextual support.
    Ability to integrate chatbots.
    Multilingual support: It supports 40+ languages.
    Supports different types of media and file formats.
    Easy to use and integrate: only a few lines of code!
The latest version of Chat iOS SDK is 1.0.0.

Example

The example application is the best way to see Mobile Chat SDK for iOS in action. Simply open the LiveChat.xcodeproj and run the Example scheme.

Installation

CocoaPods
Desk360 Mobile Chat SDK for iOS is available through CocoaPods. To install it, simply add the following line to your Podfile:
1
pod 'Desk360LiveChat'
Copied!
Manually
If you prefer not to use any of the aforementioned dependency managers, you can integrate Mobile Chat SDK into your project manually. Simply drag the Sources folder into your Xcode project.
Usage
You must add your info.plist file.
1
<key>NSPhotoLibraryUsageDescription</key>
2
<string>Allow the app to access your photos.</string>
Copied!
You can present the live support screen from any view controller like follows:
1
Desk360LiveChat
2
.shared
3
.start(
4
appKey: "12345",
5
host: "yourapp.desk360.com",
6
language: "en" // Optional
7
using: Credentials(name: "Test", email: "[email protected]"), // Optional on: self
8
)
Copied!
If you are using IQKeyboardManager in your project, please ignore Desk360LiveChat classes from it by calling:
1
let viewControllers = LiveChat.shared.viewControllersToBeExcludedFromIQKeyboardMana viewControllers.forEach {
2
IQKeyboardManager.sharedManager().disabledDistanceHandlingClasses.append($0)
3
}
Copied!
Theme Customization
You should use your Desk360 dashboard for appearance configurations.
Licence
Desk360 Mobile Chat SDK for iOS is released under the MIT licence. See LICENCE for more information.
Last modified 2mo ago