什么是“keyID”使用APNs推送服务时 [英] What is the "keyID" when using APNs push service
本文介绍了什么是“keyID”使用APNs推送服务时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通常我需要提供3个信息,要使用Apple APN: key,keyId,teamId
,例如这里。
Usually there are 3 info I need to provide, to use Apple APNs: key, keyId, teamId
, like here.
我理解 key
(pem文件位置)和 teamId
,但我在哪里可以找到 keyId
?这是在 https://developer.apple.com 的某个地方吗?这是捆绑包ID吗?
I understand key
(pem file location) and teamId
, but where do I find keyId
? Is this somewhere in https://developer.apple.com ? Is this the bundle ID?
< img src =https://i.stack.imgur.com/X4qv2.pngalt =在此处输入图像说明>
推荐答案
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/authkey/)
teamId: 'ABCDE12345', // The Team ID of your Apple Developer Account (available at https://developer.apple.com/account/#/membership/)
您可以在以下网址找到更多信息: https://eladnava.com/send -push-notifications-to-ios-devices-using-xcode-8-and-swift-3 /
You can find more on : https://eladnava.com/send-push-notifications-to-ios-devices-using-xcode-8-and-swift-3/
这篇关于什么是“keyID”使用APNs推送服务时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文