zendesk_classic 1.0.2
zendesk_classic: ^1.0.2 copied to clipboard
A Zendesk plugin is a software extension that integrates with the Zendesk customer support platform, designed to enhance and customize its functionality.
zendesk_classic #
Zendesk Plugin
Getting Started #
Add dependency to your flutter project #
flutter pub add zendesk_classic
SDK | Android | IOS |
---|---|---|
Support SDK | ✅ | ❌ |
Support Chat | ✅ | ✅ |
Support Bot | ✅ | ❌ |
Zendesk Chat Support #
Future<void> initializeChat() async {
try {
await _zendeskClassicPlugin.initZendeskChat('Your Zendesk Account Key',
barTintColor: 0xFFFF0000,
tintColor: 0xFFFFFFFF,
backgroundColor: 0xFF000000,
botName: 'CompanyName');
} on PlatformException {
_platformVersion = "Failed to get platform version";
}
}
You can find the Chat key in your Zendesk dashboard under Dashboard > Simulate Conversation
On the Url You can find the key as shown below
https://www.zopim.com/widget/livechat.html?Accountkey= Your Zendesk Account Key
Android #
Please add the below theme to your styles.xml
file in the android res/values
folder
<style name="ZendeskSdkTheme" parent="@style/Theme.AppCompat">
<item name="android:windowBackground">?android:colorBackground</item>
<item name="colorAccent">@color/zui_color_red_600</item>
<item name="colorPrimary">@color/zui_color_red_600</item>
<item name="colorPrimaryDark">@color/zui_color_red_600</item>
</style>
Please add the below code at android/app/build.gradle
app level
dependencies {
implementation 'androidx.appcompat:appcompat:1.4.1'
}
IOS #
No Additional Setup required for IOS. Plugin will work out of the box. #
Support #
Contact us #
Please drop a mail to agkc@googlegroups.com
Screenshots #
Android #
[Android.png]
IOS #
[ios.png]