Apns php error “Failed to connect to APNS: 110 Connection timed out.”

前端 未结 2 978
清酒与你
清酒与你 2021-01-18 17:49

I have done apns code for php and objective c from this Apns code

and setup certificate from this link

Sandbox and production apns for sending notification t

相关标签:
2条回答
  • 2021-01-18 18:13

    A good solution is to use a cloud function like firebase to run the actual apns connection and expose an API for your other backend in the shared hosting. This is what I used when I run in this problem.

    Firebase cloud functions are convenient easy to develop and virtually free.

    https://firebase.google.com/docs/functions

    I'll post my solution to sometimes next week.

    0 讨论(0)
  • 2021-01-18 18:28

    Finally i took vps instead of shared hosting. Lucabro's comments helped me to solve. Thanks Lucabro.

    0 讨论(0)
提交回复
热议问题