Desk360 Docs
  • Introduction to Desk360
  • 🚀Quick Start Guide
  • Start
    • Sign Up
    • Verify Your Email
    • Add Product/Brand
    • Channel Integration
    • Add User
    • Invite Your Team
  • User Communication Channels
    • In-App Message Box Channel
    • Web Contact Us Channel
    • Email Channel
    • Apple App Store Channel
    • Google Play Store Channel
    • Huawei AppGallery Channel
    • WhatsApp Channel
    • Live Chat Channel
    • Instagram Channel
    • Facebook Channel
    • Twitter Channel
  • Desk360 Platform Navigation
    • Dashboard
    • Tickets
      • Creating Internal Tickets
      • Listing and Filtering
      • Multiple Operations
      • Actions
      • Ticket Details
      • Ticket Status
      • Ticket Types
      • Ticket Reasons
      • Ready Answers
      • Ticket History Log
      • Callback Function
      • Automatic Replies
        • Automatic Replies During Working Hours
      • Automatic Assignments
      • Assignment by Request Type
      • Prioritization Rules
        • Setting Priorities
        • Creating Folders
      • SLA Management
      • Business Hours
      • Tag Management
    • Chat
      • Chat Settings
      • Automatic Assignments
      • Manual Assignments
      • Human Agent Functionality
      • Custom Chatbots
      • Chat History Forwarding
      • Bulk Actions
    • Reports
      • Ticket Reports
        • Ticket Analysis Reports
        • User Performance
      • Chat Reports
        • Chat Reports
        • User Reports
        • Chat Cockpit
      • SLA Reports
    • Product and Communication Channel Integrations
      • In-App Message Box Channel Integration
        • In-App Message Box Integration Settings
        • Customizable In-App Message Box
        • In-App Message Box Notifications
      • Web Contact Us Channel Integration
        • Web Contact Us Form
        • FAQ and Contact Us Page Settings
          • General Settings
          • FAQ Settings
          • Contact Us Page Settings
      • Email Channel Integration
        • Gmail SMTP Integration
        • Yandex SMTP Integration
        • Outlook SMTP Integration
        • E-mail features
      • Apple App Store Channel Integration
      • Google Play Store Channel Integration
      • Huawei AppGallery Channel Integration
      • WhatsApp Channel Integration
        • WABA Prerequisites
        • New WhatsApp Business API Pricing
        • WhatsApp Integration Steps
        • WhatsApp Auto-Reply Function
        • WhatsApp Custom Bots
        • WhatsApp Message Templates
        • How to use WhatsApp Message Templates
        • WhatsApp Message Template Statistics
        • WhatsApp Web Widget
      • Live Chat Channel Integration
      • Facebook Channel Integration
      • Instagram Channel Integration
      • Twitter Channel Integration
    • Chatbot Integration
    • Settings
      • Import Data
      • Language Settings
      • Professional Support In 40 Languages
    • Users
      • User Groups
      • User Roles
      • User Settings
  • INTEGRATIONS
    • JIRA
    • Slack
    • Trello
    • Alotech
  • Desk360 Mobile SDK
    • iOS SDK
    • Android SDK
    • Flutter SDK
    • React Native SDK
  • DESK360 MOBILE CHAT SDK
    • Mobile Chat iOS SDK
    • Mobile Chat Android SDK
  • DESK360 API (1.0.0)
    • API Documentation
Powered by GitBook
On this page
  • Features
  • Installation
  • Usage
  • Support

Was this helpful?

  1. DESK360 MOBILE CHAT SDK

Mobile Chat iOS SDK

PreviousReact Native SDKNextMobile Chat Android SDK

Last updated 2 years ago

Was this helpful?

Desk360 Mobile Native 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!

  • Smart Plugs.

  • Canned Response

  • Auto-Login.

Installation

CocoaPods

Desk360LiveChat is available through . 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.

Initialization

let properties = LiveChatProperties(
      appKey: apiKey,
      host: host,
      deviceID: uuid,
      loginCredentials: credentials,
      smartPlug: smartPlug
)

Desk360LiveChat.shared.start(using: properties, on: self)

Smart Plugs

let keyValues: SmartPlugType = [
   "key1": 15,
   "key2": true,
   "key3": [1,2,3,4],
   "key4": ["a","b","c"],
   "key5": ["key6": 0]
]
let smartPlug = SmartPlug(keyValues)

Pass your Smart Plugs object to the LiveChatProperties.

Auto-Login

For enabling auto-login pass pre-defined user credentials into the SDK start method..

   var credentials =  Credentials(name: "Test", email: "test@test.com")

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)
   }

Support

For further information, please with contact us

Visit our page for usage, technical setup and detailed info.

CocoaPods
support@desk360.com
GITHUB