최근 검색


최근 검색 없음

Andrey Filatov's Avatar

Andrey Filatov

가입한 날짜: 2022년 9월 02일

·

마지막 활동: 2023년 1월 19일

팔로잉

0

팔로워

0

총 활동 수

5

투표

1

가입 플랜

1

활동 개요

님의 최근 활동 Andrey Filatov

Andrey Filatov님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk SDKs

Hi, Langston!

In my case, when anonymous voting didn't work well, thumb icon was blinking and returning to start state. After downgrading the SDK version, which makes anonymous voting work well, the thumb icon stopped blinking and started to change and save background color.
So I think it works well in your case.

You can test it with returning to the same page in your knowledge base - thumb must save its background.

I hope it will help you.
Have a nice day!

댓글 보기 · 2023년 1월 19일에 게시됨 · Andrey Filatov

0

팔로워

0

투표 수

0

댓글


Andrey Filatov님이 에 댓글을 입력함

커뮤니티 댓글 Developer - Zendesk SDKs

I checked the support demo app and anonymous voting worked there (with my credentials).

I noticed that demo app uses old version of Support SDK 5.0.3 (last version is 5.1.0). When I changed the version of SDK to 5.0.3 in my application anonymous voting started working.

After some experiments I have known that anonymous voting has not been working since version 5.0.6 for my case (5.0.5 works).

I suggest that it's a bug of new versions of SDK. I read in changelog that Zendesk dev team have updated retrofit/okhttp versions several times and changed sdk target version. Or application requires some permissions which are not described in documentation.

댓글 보기 · 2022년 9월 08일에 편집됨 · Andrey Filatov

0

팔로워

0

투표 수

0

댓글


Andrey Filatov님이 에 게시물을 만듦

게시물 Developer - Zendesk SDKs

Hello, everyone!

I initialized Android Support SDK for using Help Center. In general it works fine except of a one problem. When I try to vote for article the button blinks and the vote is not registered in statistics. 

I checked logs of application and saw there:

I/okhttp.OkHttpClient: --> POST https://.zendesk.com/api/v2/help_center/articles//up.json (4-byte body)
I/okhttp.OkHttpClient: <-- 403 https://.zendesk.com/api/v2/help_center/articles//up.json (166ms, unknown-length body)

Anonymous voting is enabled in our Zendesk Admin Panel according to this article 

Why does not voting work and API return 403 error?

For more information:
I initialize Zendesk SDK in this way:

Logger.setLoggable(true)
Zendesk.INSTANCE.init(
this,
"https://.zendesk.com",
"",
""
)
Zendesk.INSTANCE.setIdentity(AnonymousIdentity())
Support.INSTANCE.init(Zendesk.INSTANCE)

and open Help Center:

HelpCenterActivity.builder()
.withContactUsButtonVisible(false)
.withShowConversationsMenuButton(false)
.withArticlesForSectionIds(sectionId)
.show(context)

I will appreciate for any help!

2022년 9월 02일에 편집됨 · Andrey Filatov

1

팔로워

5

투표 수

7

댓글