Recent searches
No recent searches

Jonathon Francis
Joined Jan 25, 2022
·
Last activity Mar 31, 2022
Following
0
Followers
0
Total activity
11
Votes
2
Subscriptions
3
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Jonathon Francis
Jonathon Francis commented,
Thanks Mick, confirmed. We were able to upload a new cert and are now receiving push notifications.
Cheers!
View comment · Posted Mar 31, 2022 · Jonathon Francis
0
Followers
0
Votes
0
Comments
Jonathon Francis commented,
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
View comment · Posted Mar 02, 2022 · Jonathon Francis
0
Followers
0
Votes
0
Comments
Jonathon Francis created a post,
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!
Posted Feb 10, 2022 · Jonathon Francis
1
Follower
8
Votes
10
Comments
Jonathon Francis commented,
Yes this App ID works now, it didn't previously but perhaps I'd done something else incorrectly when I tested it. Thank you!
View comment · Posted Feb 07, 2022 · Jonathon Francis
0
Followers
0
Votes
0
Comments
Jonathon Francis created a post,
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!
Edited Jan 25, 2022 · Jonathon Francis
0
Followers
2
Votes
3
Comments
Jonathon Francis commented,
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
View comment · Posted Jan 25, 2022 · Jonathon Francis
0
Followers
0
Votes
0
Comments