您知道我们可能会遇到什么错误吗?
我们通过CLI配置了APN:
APN: Enabled
APN - Host: https://api.push.apple.com
APN – Auth Type: TOKEN
APN – Key ID: *********
APN – Notification Template {...}
但是在测试时出现以下错误:
apn: publishing the message failed with error: BadDeviceToken
该错误还显示了我的设备ID。我如何确保它是正确的?
答案 0 :(得分:2)
发现了问题:只需确保您的APNs开发端点是正确的端点即可。就我们而言,我们必须选择“开发”