Recent searches
No recent searches
What data populates the unread indicator for a ticket?
Posted May 12, 2023
Hello,
We leverage the Support SDK on iOS to present the ticket requests. How is the data sourced for determining when to show the unread ticket indicator for the user (dot on the left side)? Is this available via the Zendesk API? Is it stored on-device and handled within the SDK?
Thanks.
0
6
6 comments
Greg Katechis
0
Rafael Santos
Greg Katechis, that refers to the Unity SDK, not the Support SDK for iOS
Brandon Hawker, the documentation has this section Check for ticket updates, which suggests using the ZDKRequestProvider, caching requestUpdates.
isRequestUnread seems to be its method to identify whether a ticket has that unread dot or not, representing a boolean for that state. Documentation for that method here:
https://github.com/zendesk/support_providers_sdk_ios/blob/master/docs/SupportProvidersSDK/7.0.0/documentation/supportproviderssdk/requestupdates/isrequestunread(_%3A)/index.html
Better to check that repo for Zendesk Providers SDK iOS, which is imported as part of the Support SDK
0
Brandon Hawker
Ah, thanks Rafael. I'm on an older version of an SDK which doesn't have that functionality so I missed it (can't upgrade right now due to a bug).
0
Rafael Santos
Brandon Hawker which version are you on? I find references of this being present since 5.1
0
Brandon Hawker
5.3.0
There's no signature in the ZDKRequestProvider header for getUpdatesForDevice, but I can access it it turns out.
0
Rafael Santos
That's cool, thanks for confirming.
From this specific commit, it seems like this function has been present at least since 4.0.0, November 2019
0