How do I make my debug app version receive production push notifications on iOS?

前端 未结 4 892
情话喂你
情话喂你 2021-02-12 13:42

My server is sporting only one version of sending push notifications, and it has my production (release) push certificate.

How do I test the notifications on my debug de

4条回答
  •  不知归路
    2021-02-12 14:11

    If you build your app with development provisioning profile, you'll receive a sandbox device token, which is valid only in the sandbox push environment (using the sandbox push server and sandbox push certificate).

    If you build your app with production or AdHoc provisioning profile, you'll receive a production device token, which is valid only in the production push environment (using the production push server and production push certificate).

提交回复
热议问题