appfeel/node-pushnotifications

APN Configuration without p8 key

Closed this issue · 3 comments

Followed the documentation, however I'm unable to get a p8 file from the apple developer site.
Only thing I have been able to get for push notifications is a certificate:

The documentation show the following:
image

But I can't get the p8 file:
image

The only option I can see, is a certificate for a push notification service which I got:
image

Does anyone have some example code on how to use this certificate in the configuration?

You can setup a certificate via these instructions: https://github.com/node-apn/node-apn/wiki/Preparing-Certificates

Or you can setup the key via the instructions here: https://developer.clevertap.com/docs/how-to-create-an-ios-apns-auth-key

Thank you for clarifying @sharma0611! :)

Just tried to create the .p12 cert as the instructions say but keychain doesn't allow export to .p12 from first link. Now, trying to follow the token way but not sure how to configure this library to work with tokens.

image

The second link talks about instructions to old developer.apple.com site and those steps can't be done on new site.