What is a "key identifier" when using the APN push service

Usually there are 3 information that I need to provide in order to use Apple APN: key, keyId, teamId , for example here .

I understand key (pen file location) and teamId , but where can I find keyId ? Is it somewhere in https://developer.apple.com ? Is this a bunch identifier?

enter image description here

+7
ios apple-push-notifications
source share
2 answers
 key: 'apns.p8', // Path to the key p8 file keyId: 'ABCDE12345', // The Key ID of the p8 file (available at https://developer.apple.com/account/ios/certificate/key) teamId: 'ABCDE12345', // The Team ID of your Apple Developer Account (available at https://developer.apple.com/account/#/membership/) 

You can find more at: https://eladnava.com/send-push-notifications-to-ios-devices-using-xcode-8-and-swift-3/

+10
source share

If you do not have a key identifier in https://developer.apple.com/account/ios/authkey , he can follow these steps to create it:

1) Go to the aka Member Center Developer Member> Certificates, Identifiers and Profiles> Keys / All> click the "+" button enter image description here

2) Enter a name and check the APN. The key is the same among your applications, so do not add the application name to the key name. Click Verify. enter image description here

3) Download the key and be careful with it. Here you can see the value of the key ID (baby). enter image description here

0
source share

All Articles