Zendesk 的集成使用

ZenDesk SDK DOC 简单使用

SDK for iOS: https://developer.zendesk.com/embeddables/docs/ios_support_sdk/nutshell SDK for Android: https://developer.zendesk.com/embeddables/docs/android-support-sdk/nutshell

参数问题

articleId 文章id

SectionIds 段id

Category 章

ticket 工单相关

Intent 跳转

几种Activity方式

RequestListActivity

RequestListActivity.builder()
.show(this);

RequestActivity.builder()
.withRequestSubject("Android ticket")
.withTags("android", "mobile")
.show(this);

UiConfig articleConfig = ViewArticleActivity.builder()
.withContactUsButtonVisible(true)
.withDeflectionEnabled(true)
.config();

HelpCenterActivity.builder()
.withArticlesForCategoryIds(900000277786l)
.show(this,articleConfig);


HelpCenterActivity.builder()
.show(this);


HelpCenterActivity.builder()
.withArticlesForSectionIds(900000277846l, 900000290786l)
.show(this);

ViewArticleActivity.builder(900000276623l).withContactUsButtonVisible(false).show(this);

Zendesk.INSTANCE.init(context, "https://xxxxxx.zendesk.com", "102dc3fe48f615cd29aee6e00bdfd7d4fd3db3738dee4b6cxxxxxx", "mobile_sdk_client_0018036aa0275004b7e2xxxxxx"); Support.INSTANCE.init(Zendesk.INSTANCE);

Swift

[ZDKZendesk initializeWithAppId: @"102dc3fe48f615cd29aee6e00bdfd7d4fd3db3738dee4b6cxxxxxx" clientId: @"mobile_sdk_client_0018036aa0275004b7e2xxxxxx" zendeskUrl: @"https://xxxxxx.zendesk.com"]; [ZDKSupport initializeWithZendesk: [ZDKZendesk instance]];

OC init

Zendesk.INSTANCE.init(context, "https://xxxxxx.zendesk.com", "102dc3fe48f615cd29aee6e00bdfd7d4fd3db3738dee4b6cxxxxxx", "mobile_sdk_client_0018036aa0275004b7e2xxxxxx"); Support.INSTANCE.init(Zendesk.INSTANCE);

Android init

mobile_sdk_client_0018036aa02750xxa04b7e2xxxxxx

Client ID

102dc3fe48f615cd29aee6e00bdfd7d4fd3xxadb3738dee4b6cxxxx

Zendesk AppId

https://nextentertain.zendesk.com

Zendesk Url

Zendesk 注册官网

搭建环境初始化

ViewArticleActivity

HelpCenterActivity

RequestActivity

你可能感兴趣的:(Zendesk 的集成使用)