최근 검색


최근 검색 없음

Elon (Yurii Martyniak)'s Avatar

Elon (Yurii Martyniak)

가입한 날짜: 2021년 10월 22일

·

마지막 활동: 2025년 1월 08일

팔로잉

0

팔로워

0

총 활동 수

27

투표 수

14

플랜 수

9

활동 개요

님의 최근 활동 Elon (Yurii Martyniak)

Elon (Yurii Martyniak)님이 에 게시물을 만듦

게시물 Developer - Zendesk SDKs

Hi there.

When we respond to tickets submitted via the mobile SDK, users receive our replies; however, they do not receive push notifications about these responses.

 

We use iOS Mobile SDK version 8.0.2 

There are no any errors

 

Also, here is the code of SDK initialisation:

    private func `default`(customFields: [CustomField], customTags: [String] = []) -> UIViewController {
        setupZendesk(with: store.state)

        let requestConfig = RequestUiConfiguration()

        requestConfig.tags = makeDefaultTags() + customTags

        let deviceId = store.state.device.device?.id.rawValue ?? -1
        requestConfig.customFields = [
            CustomField(fieldId: CustomFieldId.deviceId, value: deviceId),
        ] + customFields

        let helpCenterUiConfig = HelpCenterUiConfiguration()

        let vc = HelpCenterUi.buildHelpCenterOverviewUi(withConfigs: [helpCenterUiConfig, requestConfig])

        let navigation = UINavigationController(rootViewController: vc)
        navigation.modalPresentationStyle = .fullScreen
        return navigation
    }

    private func setupZendesk(with state: Core.AppState) {
        guard let email = state.auth.email ?? state.support.email else {
            return
        }
        let username = state.user.properties?.name ?? ""
        let ident = Identity.createAnonymous(name: username, email: email)
        Zendesk.instance?.setIdentity(ident)

        guard let token = state.pushNotifications.token, let zendeskInstance = Zendesk.instance else { return }
        // PushProvider register method should be called with valid identity
        ZDKPushProvider(zendesk: zendeskInstance).register(
            deviceIdentifier: token.string,
            locale: state.localization.languageCode.rawValue
        ) { _, error in
            guard let error else { return }
            LogEventDataLoggerLocator.shared.log(
                LogEventData(
                    name: "Zendesk setup error",
                    category: .zendesk,
                    level: .error(.low),
                    message: "Zendesk couldn't register device",
                    error: error as NSError,
                    userInfo: [
                        .eventErrorDescription: .string(error.localizedDescription),
                        .eventErrorCode: .integer((error as NSError).code),
                    ]
                )
            )
            logDebug("Zendesk: Couldn't register device. Error: \(error)", category: .zendesk)
        }
    }

After investigation, I didn’t find any issues with the backend service that sends push notifications. Sending a push directly using the device’s Push Token works properly, and notifications are delivered on both Android and iOS.

 

Moreover, in the case of iOS, it seems that Zendesk webhooks are not reaching the backend at all. This suggests a potential issue either on Zendesk’s side or in our integration with Zendesk.

 

Some webhooks for iOS devices do reach us, but they contain invalid request bodies, such as:

 

{
    "devices": [
        {
            "identifier": "identifier_example",
            "type": "ios"
        }
    ],
    "notification": {
        "body": null,
        "title": null,
        "ticket_id": null
    }
}

 

2025년 1월 08일에 게시됨 · Elon (Yurii Martyniak)

0

팔로워

3

투표 수

1

댓글


Elon (Yurii Martyniak)님이 에 댓글을 입력함

커뮤니티 댓글 Feedback - Reporting and analytics (Explore)

We definitely need this feature without question.

댓글 보기 · 2024년 11월 27일에 게시됨 · Elon (Yurii Martyniak)

0

팔로워

0

투표 수

0

댓글


Elon (Yurii Martyniak)님이 에 게시물을 만듦

게시물 Feedback - Ticketing system (Support)

Hi there.

We have an issue with Customer Context.

We are using Agent Workspace and when an agent tries to open it from Knowledge or from Side Conversation it stays open, but when they try to open it from Apps it is always hidden.

So the agent needs to click twice on it just to see the information.

Please fix it.

2023년 8월 30일에 게시됨 · Elon (Yurii Martyniak)

1

팔로워

3

투표 수

1

댓글


Elon (Yurii Martyniak)님이 에 댓글을 입력함

댓글Account settings of the ticketing system

Hi Andriy,


We had the same problem and Zendesk support helped us a lot.
As they have mentioned, you will need to add Liquid code to the dynamic content for the HTML to render correctly. Liquid code is needed in the DC because our system uses a different rendering engine.
 
With that being said you can use the following code and it will render the HTML as intended. 
For example, just add {{‘Some text’}} at the beginning of your Dynamic content and it will work.


Best,
Yurii.

댓글 보기 · 2022년 6월 06일에 편집됨 · Elon (Yurii Martyniak)

0

팔로워

0

투표 수

0

댓글