This application demonstrates chat integration using Chat2Desk iOS SDK, allowing users to perform various chat operations with Chat2Desk service
The application supports the following features:
You'll need a Chat2Desk account on and a channel with Online Widget to get started.
Retrieve the parameters from the widget settings:
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
Build and run the app.
Main | Select Attachment | Dropdown menu |