PHP Apple Enhanced Push Notification read error response

后端 未结 2 1487
南旧
南旧 2020-11-30 22:36

In PHP, how do you use fread() to check if there is an error response when sending enhanced push notifications?

I have read the Apple docs, a couple vague posts thru

2条回答
  •  鱼传尺愫
    2020-11-30 23:21

    Am not sure the content of you code but you should try ApnsPHP it is well tested works perfectly fine and it able to handle all possible exception and error for you.

    Other Alternatives

    https://github.com/sebastianborggrewe/PHP-Apple-Push-Notification-Server https://github.com/bortuzar/PHP-Mysql---Apple-Push-Notification-Server

    Have tested 2 out of the 3 i examples and did not have issue of implementation and error management.

    Thanks

    :)

提交回复
热议问题