从AppStore下载的应用程序未收到PushKit通知

时间:2020-06-21 14:46:54

标签: ios callkit pushkit

我没有收到从AppStore下载的应用程序的PushKit通知。如果我直接从XCode安装它,效果很好。

我正在使用PushKit和CallKit进行VoIP通话。

1 个答案:

答案 0 :(得分:0)

用于生产模式的Apple服务器是api.push.apple.com:443,而用于开发模式的服务器是api.sandbox.push.apple.com:443

在这里阅读:https://developer.apple.com/documentation/usernotifications/setting_up_a_remote_notification_server/sending_notification_requests_to_apns

确保每种机制的后端机制都能寻址正确的服务器。