在 iPhone 中没有收到任何推送通知 [英] Not receiving any push notification in iPhone
问题描述
我使用 本教程.
使用上面的教程,我收到了PushTest"想要向您发送推送通知(恰好一次)的消息,之后我从 iPhone 中删除了该应用程序,重新启动了 iPhone,但无法再次收到相同的消息.
And using above tutorial I got the message that 'PushTest' would like to send you Push Notification (exactly once) and after that I delete the app from iPhone, restart the iPhone but unable to get the same message again.
我已运行脚本 sample.php(更新建议的更改)并收到消息已连接到 APNS"&'你的消息发送'.
I have run the script sample.php (updating the changes suggested) and got the message 'connected to APNS' & 'your message send'.
但是我没有收到任何推送通知.
But I didn't receive any single push notification.
请指导我错在哪里?
或者我尝试什么来接收推送通知.
Please guide me where I am wrong?
Or what shod I try for push notification receive.
推荐答案
只有两种情况你不会收到推送
You will not receive Push only in 2 cases
1.) 如果您的应用程序在前台.
1.) If your application is in foreground.
2.) 您的设备令牌对于接收推送通知无效,请检查两个条件,如果您仍然没有收到推送,请告诉我.谢谢
2.) you device token is not valid for receiving the push notification please check both the condition if you still do not receive push please let me know. Thanks
这篇关于在 iPhone 中没有收到任何推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!