APNS Push Notifications Not Working on Production

后端 未结 4 1704
伪装坚强ぢ
伪装坚强ぢ 2020-12-10 01:10

I created an App to send remote notifications from a web server. When I tested the App in Development Mode all the notifications arrived correctly on the phone, after the Ap

4条回答
  •  旧时难觅i
    2020-12-10 01:48

    The link you mentioned is Sandbox APNS link. Production APNS link is as per Apple documentation is:

    You access the production environment at gateway.push.apple.com, outbound TCP port 2195.

    Few things to verify:

    1. Your AppId is enabled for Distribution APNS.
    2. You have created Distribution APNS SSL Certificate and is installed on your build machine (for App Store submission).
    3. You have installed the SSL Certificate in step 2 on your server.
    4. You are not by mistake using Development APNS SSL Certificate.

提交回复
热议问题