最近搜索


没有最近搜索

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

Comment


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

Comment


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

评论