idesk_live_chat 0.0.3 copy "idesk_live_chat: ^0.0.3" to clipboard
idesk_live_chat: ^0.0.3 copied to clipboard

Flutter package of 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:

  1. 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';
  1. 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
);

Replace the values with your actual configuration provided by Idesk360.

  1. call the IDeskLiveChat statefull widget where you want to use the live chat option:
IDeskLiveChat(config: config);

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.

1
likes
130
pub points
0%
popularity

Publisher

unverified uploader

Flutter package of IDesk live chat.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, flutter_inappwebview, http

More

Packages that depend on idesk_live_chat