最近搜索
没有最近搜索

Jonathon Francis
已加入2022年1月25日
·
最后活动2022年3月31日
关注
0
关注者
0
活动总数
11
投票
2
订阅
3
活动概览
标记
文章
帖子
社区评论
文章评论
活动概览
的最新活动 Jonathon Francis
Jonathon Francis 进行了评论,
Hi Mick, thanks for the update, however I am still getting an error "PEM file is invalid" when uploading a recently generated "Apple Push Notification service SSL (Sandbox & Production)" certificate. I am unable to create a Production-only certificate via Apple Developer, no option is provided for this.
To clarify, I am trying to upload to the Chat Dashboard (https://[my-tenant].zendesk.com/chat/agent#account/api_&_sdks).
Thanks
查看评论 · 已于 2022年3月02日 发布 · Jonathon Francis
0
关注者
0
投票
0
评论
Jonathon Francis 创建了一个帖子,
I'm unable to upload a PEM certificate file to the Zendesk Chat dashboard as the certificate was issued after 27th Jan 2022. I get an error "PEM file is invalid."
I believe this is due Apple issuing APN certificates with a new Intermediate certificate, as explained here: https://developer.apple.com/support/expiration/.
If you plan to send notification requests or passes with certificates issued after January 27, 2022, you’ll need to download the Worldwide Developer Relations G4 sub CA, available for download.
The certificate I created prior to 27th Jan works fine (different Bundle ID used for testing). I believe Zendesk needs to install the new Intermediate certificate on their web servers to accept any newly created APN certificates.
Please help! We are about to go live with Chat!
已于 2022年2月10日 发布 · Jonathon Francis
1
关注者
8
投票
10
评论
Jonathon Francis 创建了一个帖子,
Hi,
I'm not able to get Push Notifications working on iOS with the Chat V2 SDK. I've followed the instructions here and here however there are still some things that aren't clear.
The `Chat.initialize()` method wants an "appId" but none of the documentation specifies exactly wha value should be provided here. I have tried using the "App ID" supplied by Zendesk from Chat > Settings > Account > API & SDKs - this is the same place I've uploaded the PEM file to. I've also tried the "App ID" from Admin > Channels > Mobile SDK which seems to be the same as Agent > Admin > Channels > Mobile SDK. Finally I have also tried using the app's Bundle Identifier (aka App ID, e.g. com.mycompany.myapp). This is a value that would be needed by Zendesk to trigger the push notification (apns-topic header). and there doesn't seem to be any other way to supply it. None of these values seem to work, neither with a Debug build (APNs Sandbox checked) nor with a Release build (APNS Sandbox unchecked).
I have verified the PEM file is valid and I am able to send & receive push notifications to my device using the same certificate & device token via cURL.
I have used a breakpoint to verify that I am calling `Chat.registerPushToken(deviceToken)` using the value returned by `application(:didRegisterForRemoteNotificationsWithDeviceToken:) app delegate method. I have verified that this occurs after initialising the Chat SDK (`Chat.initialize()`).
To test this, I am starting a chat session from the app/SDK, sending a message, then accepting the chat request from the Agent Dashboard. After sending a message or two back and forth, I close out of the chat, close the app (not force quit), and send another message from the chat. No notification is received. If I return to the app and open the Chat view controller again the session is retained and all messages appear.
What other steps could I have missed or am I doing incorrectly? Any help would be greatly appreciated. Thanks!
已于 2022年1月25日 编辑 · Jonathon Francis
0
关注者
2
投票
3
评论
Jonathon Francis 进行了评论,
Hi Greg, where would we be able to do this? The chat view controller is created with `Messaging.instance.buildUI` which returns a plain UIViewController - the superclass is abstracted away, we cannot subclass it (and even if we could our subclass wouldn't be initiated with the above method call).
Thanks
查看评论 · 已于 2022年1月25日 发布 · Jonathon Francis
0
关注者
0
投票
0
评论