测试聊天推送通知时出现BadDeviceToken错误

时间:2020-03-06 17:58:34

标签: getstream-io

您知道我们可能会遇到什么错误吗?

我们通过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。我如何确保它是正确的?

1 个答案:

答案 0 :(得分:2)

发现了问题:只需确保您的APNs开发端点是正确的端点即可。就我们而言,我们必须选择“开发”

相关问题