【问题标题】:Not getting PushKit notifications on application downloaded from AppStore从 AppStore 下载的应用程序没有收到 PushKit 通知
【发布时间】:2020-06-21 14:46:54
【问题描述】:

我没有收到关于从 AppStore 下载的应用程序的 PushKit 通知。虽然如果我直接从 XCode 安装它就可以正常工作。

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

【问题讨论】:

    标签: ios callkit pushkit


    【解决方案1】:

    生产模式使用的 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

    确保后端机制针对每种模式处理正确的服务器。

    【讨论】:

    • 非常感谢兄弟,过去两天我一直被这个问题困扰。上帝保佑你。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-08-05
    • 1970-01-01
    • 1970-01-01
    • 2018-02-27
    • 1970-01-01
    • 2013-02-05
    相关资源
    最近更新 更多