Recent searches


No recent searches

Xinran Wang's Avatar

Xinran Wang

Joined Mar 24, 2022

·

Last activity May 11, 2022

Following

0

Followers

0

Total activity

15

Votes

0

Subscriptions

5

ACTIVITY OVERVIEW

Latest activity by Xinran Wang

Xinran Wang commented,

Community comment Developer - Zendesk SDKs

Hm good to know that it at least is working for you. Just to double check, a simple way to test if this is working could be to just create an ad-hoc build, then update the Messaging ticket as an agent right? That should kick off a push notification with the agent's latest message?

View comment · Posted May 11, 2022 · Xinran Wang

0

Followers

0

Votes

0

Comments


Xinran Wang commented,

Community comment Developer - Zendesk SDKs

Hey Malcolm, thanks for the suggestion although I did realize that the sandbox certificate doesn't work for Zendesk so I've been testing with adhoc builds and the production cert for the last couple of days. Does lead to a bit of a slower development cycle unfortunately. So at this point, I don't think that's the issue.

Were you able to get push notifications working at the end? Do you remember if there was something you did that differed from the Zendesk provided sample code?

View comment · Posted May 11, 2022 · Xinran Wang

0

Followers

0

Votes

0

Comments


Xinran Wang created a post,

Post Developer - Zendesk SDKs

Been trying to get push notifications working through the messaging SDK on ios but can't seem to make it work. I've followed the instructions in the link above and was able to validate that non-zendesk push notifications are working using this tool as suggested in this previous post.

Based on some app-level logging, the below function does seem to be working so presumably, ZDKPushNotifications is registering the push notification token

- (void)application:(UIApplication *)application didRegisterForRemoteNotificationsWithDeviceToken:(NSData *)deviceToken 

 

And by using that push notification testing tool linked above, I was able to send push notifications to my app on the device using the Production push notification certificate, and confirm that the following function was being called:

- (void)userNotificationCenter:(UNUserNotificationCenter *)center
       willPresentNotification:(UNNotification *)notification
         withCompletionHandler:(void (^)(UNNotificationPresentationOptions))completionHandler

 

Based on the above, I feel fairly confident that any apple/APNS configurations are being set correctly. So not really sure what's not working properly at the Zendesk level. Is there something I need to turn on in Zendesk admin? Any help would be appreciated.

 

Edited May 10, 2022 · Xinran Wang

0

Followers

2

Votes

5

Comments


Xinran Wang commented,

CommentZendesk messaging

Danilo Figueiredo Were you able to get zendesk messaging push notifications working? Having the same problems right now as your last message and at this point, not sure if it's a me problem or a Zendesk problem

View comment · Posted May 10, 2022 · Xinran Wang

0

Followers

0

Votes

0

Comments


Xinran Wang commented,

Community comment Developer - Zendesk SDKs

Dae Chul Jung (Cat Daddy)

Were you able to figure out this issue? Having the same problem and not quite sure how to debug at this point.

View comment · Posted May 10, 2022 · Xinran Wang

0

Followers

0

Votes

0

Comments


Xinran Wang commented,

Community comment Developer - Zendesk APIs

This is great. Thanks for the help everyone!

View comment · Posted Apr 22, 2022 · Xinran Wang

0

Followers

0

Votes

0

Comments


Xinran Wang commented,

Community comment Developer - Zendesk APIs

Oh whoa. That worked. Thanks!

Do you know if there are any major differences between the 2 APIs other than being able to use "query"?

View comment · Posted Apr 21, 2022 · Xinran Wang

0

Followers

0

Votes

0

Comments


Xinran Wang created a post,

Post Developer - Zendesk APIs

Currently looking to use the `query` param in the Requests API (/api/v2/requests) to ONLY return tickets created using a specific channel (for example: "native_messaging". Is that possible? Not sure how to use zendesk query in this case since it's a nested data object

The response would normally look something like this:
{
    ...
     "via": {  "channel": "native_messaging"  }
}

I've tried the following but none seem to work:

  • /api/v2/requests.json?query=via:channel=messaging
  • /api/v2/requests.json?query=via:messaging
  • /api/v2/requests.json?query=channel:messaging

Thanks in advance for any help!

Posted Apr 21, 2022 · Xinran Wang

0

Followers

6

Votes

6

Comments


Xinran Wang commented,

Community comment Developer - Zendesk SDKs

Attaching screenshots of the code here

View comment · Posted Mar 24, 2022 · Xinran Wang

0

Followers

0

Votes

0

Comments


Xinran Wang created a post,

Post Developer - Zendesk SDKs

Have set up my server to generate a JWT which I was able to verify using jwt.io. But when my iOS app tries to use the token to authenticate with Zendesk, I get the following error: "failedToDecodeJWT". This is currently happening within the sandbox environment (haven't tried in production yet). Not sure how to troubleshoot at this point since it seems like the token should be valid.

Posted Mar 24, 2022 · Xinran Wang

1

Follower

3

Votes

3

Comments