chat2desk / ios-sdk-demo

0 stars 1 forks source link

Chat2Desk SDK Demo

This application demonstrates chat integration using Chat2Desk iOS SDK, allowing users to perform various chat operations with Chat2Desk service

Features

The application supports the following features:

Getting started

You'll need a Chat2Desk account on and a channel with Online Widget to get started.

  1. Retrieve the parameters from the widget settings:

    • widget token
    • server URLs
  2. Create Config.xcconfig file in the root folder with following content:

    SIMPLE_SLASH = /
    WIDGET_TOKEN = YOUR_WIDGET_TOKEN_HERE
    BASE_HOST = YOUR_BASE_HOST_TOKEN_HERE
    WS_HOST = YOUR_WS_HOST_TOKEN_HERE
    STORAGE_HOST = YOUR_STORAGE_TOKEN_HERE

    Note that you need to modify the URLs to escape //, as Xcode considers these characters to be the beginning of a comment. For example, use https:$(SIMPLE_SLASH)/livechatv2-support.chat2desk.com

  3. Build and run the app.

Usage

Message list

Main Select Attachment Dropdown menu

Useful links

  1. Using Chat2Desk SDK
  2. SDK Reference

Still have questions?