crisp 0.1.0 copy "crisp: ^0.1.0" to clipboard
crisp: ^0.1.0 copied to clipboard

outdated

Connect with Crisp Chat, register a user to chat (or not) and render a chat widget.

Flutter Crisp #

pub package

Connect with Crisp Chat, register a user to chat (or not) and render a chat widget.

Tested on Android and iOS.

Required setup - only iOS #

You need to setup setup the a key in iOS, as described at flutter_webview_plugin.

How to use #

These are the steps to configure and start working with the plugin:

  1. Initialize with your website id, you can take it here: https://app.crisp.chat/website/%5BWEBISTE_ID%5D/inbox/
  2. Optionally register an user;
  3. Set a initial message.

Pretty straightforward:

  @override
  void initState() {
    super.initState();

    crisp.initialize('WEBSITE_ID');
    crisp.register(
      CrispUser(
        email: "example@provider.com",
        avatar: 'https://avatars2.githubusercontent.com/u/16270189?s=200&v=4',
        nickname: "João Cardoso",
        phone: "5511987654321",
      ),
    );

    crisp.setMessage("Hello world - initial message");
  }
28
likes
0
pub points
89%
popularity

Publisher

verified publisheroiluna.com

Connect with Crisp Chat, register a user to chat (or not) and render a chat widget.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_webview_plugin, url_launcher

More

Packages that depend on crisp