zendesk_plugin 2.0.1 copy "zendesk_plugin: ^2.0.1" to clipboard
zendesk_plugin: ^2.0.1 copied to clipboard

A Flutter plugin for the Zendesk Chat SDK v2. Provides embed chat functionality in your apps to give your mobile users access to your support team

zendesk plugin #

A Flutter plugin for the Zendesk Chat SDK v2

Getting Started #

Android Setup #

You must set a compatible theme theme in the AndroidManifest.xml file's

The example Android setup follows the pattern described in the post.

iOS Setup #

Create a new "Run Scripts Phase" in your target's "Build Phases".

This script should be the last step in your project's "Build Phases". Paste the following snippet into the script text field:

"${BUILT_PRODUCTS_DIR}/${FRAMEWORKS_FOLDER_PATH}/ChatSDK.framework/strip-frameworks.sh"
copied to clipboard

Deployment Target >= 10.0

Usage #

Initializing the plugin

await Zendesk.initialize(<account key>, <application id>);
copied to clipboard

Setting visitor information (optional)

await Zendesk.setVisitorInfo(
    name: 'Text Client',
    email: 'test+client@example.com',
    phoneNumber: '0000000000',
    department: 'Support',
);
copied to clipboard

Adding and removing tags

await Zendesk.addTags(['tag1', 'tag2', 'tag3']);
await Zendesk.removetags(['tag1', 'tag3'])

// Result is only tag2 will be present on the chat
copied to clipboard

Open chat client

Zendesk.startChat(primaryColor: Colors.red);

// Note: primaryColor will only configure iOS. Android AppBar color
// is controlled by the app's theme
copied to clipboard
14
likes
150
points
185
downloads

Publisher

verified publishertaxfyle.com

Weekly Downloads

2024.09.08 - 2025.03.23

A Flutter plugin for the Zendesk Chat SDK v2. Provides embed chat functionality in your apps to give your mobile users access to your support team

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on zendesk_plugin