1. create .pem from .p12 for both Certification and private key within
using commend line:
openssl pkcs12 -in cer.p12 -out cer.pem -nodes
openssl pkcs12 -in key.p12 -out key.pem -nodes
both leave the password empty.
2. then combine two .pem into one
using commend line: cat cer.pem key.pem > cerAndKey.pem
3. upload cerAndKey.pem to the dashboard of Chat
switch on the "Push Notifications" in xcode 10 project capabilities
after making the app in background on my iPhone and the agent send new message,
I've tested the APNs by "Pusher" and "Firebase Cloud Messaging" with the same certification
they all work greatly.
Which meant that I've set APNs related setting correctly and confirmed I allowing Push Notification for this app.
I'm now using "Advanced" account type of "Legacy Zendesk Chat plan type" with one agent.
Will that be the cause of this situation?
but base on this article:
It shouldn't be the reason.
Is there any setting I should do in the Dashboard like a switch or should the agent pressed some button in conversation window to trigger the Push Notification?
And there is the term "server key" mention below Generating Combined PEM File in https://chat.zendesk.com/hc/en-us/articles/360000456648
Is that just a typo? or maybe some key info I've just missed?
btw, I'm using "Development SSL Certificate" in apple developer "iOS App ID Settings" and using "Debug" Build Configuration in project scheme.
Every help or suggestion will be appreciated.
Vous devez vous connecter pour laisser un commentaire.