Zendesk 的集成使用

作者: zcwfeng | 来源:发表于2020-03-04 19:30 被阅读0次

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

<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="" cid="n102" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; background-position: initial initial; background-repeat: initial initial;">RequestListActivity.builder()
.show(this);</pre>

<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="" cid="n104" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; background-position: initial initial; background-repeat: initial initial;">RequestActivity.builder()
.withRequestSubject("Android ticket")
.withTags("android", "mobile")
.show(this);</pre>

<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="" cid="n90" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; background-position: initial initial; background-repeat: initial initial;">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);</pre>

<pre spellcheck="false" class="md-fences md-end-block ty-contain-cm modeLoaded" lang="" cid="n92" mdtype="fences" style="box-sizing: border-box; overflow: visible; font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace; margin-top: 0px; margin-bottom: 20px; font-size: 0.9rem; display: block; break-inside: avoid; text-align: left; white-space: normal; background-color: rgb(51, 51, 51); position: relative !important; padding: 10px 10px 10px 30px; width: inherit; background-position: initial initial; background-repeat: initial initial;">ViewArticleActivity.builder(900000276623l).withContactUsButtonVisible(false).show(this);</pre>

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 的集成使用

    本文链接:https://www.haomeiwen.com/subject/nlcilhtx.html