idesk_live_chat

Last updated:

0 purchases

idesk_live_chat Image
idesk_live_chat Images
Add to Cart

Description:

idesk live chat

IdeskLiveChat Flutter SDK #
The IdeskLiveChat Flutter SDK allows you to easily integrate live chat functionality into your Android and IOS application. This README provides an overview of how to use the library and get started with live chat in your app.
Installation #
Add idesk_live_chat as a dependency in your pubspec.yaml file.
Prerequisites #
This app uses flutter_inappwebview version 5.8.0.Please make sure that you have configured it properly before using this package.
See the flutter_inappwebview documentation for more information.
Usage #
To open the chat window when a button is clicked, follow these steps:

Import the necessary classes at the top of your dart file:

import 'package:idesk_live_chat/idesk_chat_config.dart';
import 'package:idesk_live_chat/idesk_live_chat.dart';
copied to clipboard

Berfore calling live chat widget config you need a configuration. Make an IDeskLiveChatConfig object with the required parameters:

IDeskLiveChatConfig config = IDeskLiveChatConfig(
resourceUri : "xxxx.idesk360.com",//required
appUri : "xxx.idesk360.com",//required
pageId : "xxxxxxx",//required
miscellaneous : {"float": 0},//optional,
customerInfo : {"name": "xxx", "rmn": "xxx"}//optional
);
copied to clipboard
Replace the values with your actual configuration provided by Idesk360.

call the IDeskLiveChat statefull widget where you want to use the live chat option:

IDeskLiveChat(config: config);
copied to clipboard
That's it! You can now see the live chat UI in your app.
Attaching files #
See the Enable camera for HTML inputs documentation for more information.
Additional Configuration #
You can further customize the chat window and behavior by modifying the IDeskLiveChatConfig object with additional options as needed.
License #
This SDK is licensed under the MIT License.
Support #
If you encounter any issues or have questions, please contact our support team.

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.