Ján*_*nos 16 apple-push-notifications ios
通常我需要提供3个信息,使用Apple APN:key, keyId, teamId就像这里一样.
我理解key(pem文件位置)teamId,但我在哪里可以找到keyId?这是在https://developer.apple.com的某个地方吗?这是捆绑ID吗?
Dhe*_*ngh 27
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/)
Run Code Online (Sandbox Code Playgroud)
您可以在以下网址找到更多信息:https://eladnava.com/send-push-notifications-to-ios-devices-using-xcode-8-and-swift-3/
小智 9
密钥 ID 也可以从密钥文件的名称派生出来。带有密钥的文件可能会命名为:AuthKey_ABC1DEF11G.p8,因此 ABC1DEF11G 是密钥 ID。
团队 ID 可在 Apple 帐户网页(右上角)上找到。
| 归档时间: |
|
| 查看次数: |
10717 次 |
| 最近记录: |