Desk360 Mobile Chat SDK for iOS
Desk360 Chat iOS SDK
Desk360 Chat SDK 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
- [x] Talk to your customers using our panel and make use of our SDK to identify a user and provide contextual support.
- [x] Ability to integrate Chatbots.
- [x] Multi-lingual support: It supports 40+ languages.
- [x] Supports different types of media and file formats.
- [x] Easy to use and integrate, only one line of code!
Example
The example application is the best way to see LiveChat
in action. Simply open the LiveChat.xcodeproj
and run the Example
scheme.
Installation
CocoaPods
Desk360LiveChat is available through CocoaPods. To install
it, simply add the following line to your Podfile:
pod 'Desk360LiveChat'
Manually
If you prefer not to use any of the aforementioned dependency managers, you can integrate LiveChat into your project manually. Simply drag the Sources
Folder into your Xcode project.
Usage
You must add your info.plist file.
<key>NSPhotoLibraryUsageDescription</key>
<string>Allow the app to access your photos.</string>
you can present the live support screen from any view controller like follows
Desk360LiveChat
.shared
.start(
appKey: "12345",
host: "yourapp.desk360.com",
language: "en" // Optional
using: Credentials(name: "Test", email: "test@test.com"), // Optional
on: self
)
If you're using IQKeyboardManager in your project please ignore Desk360LiveChat classes from it by calling:
let viewControllers = LiveChat.shared.viewControllersToBeExcludedFromIQKeyboardManager
viewControllers.forEach {
IQKeyboardManager.sharedManager().disabledDistanceHandlingClasses.append($0)
}
GitHub
https://github.com/Teknasyon-Teknoloji/desk360-livechat-ios-sdk