推送通知不起作用
我按照本教程进行推送通知。
http://mobiforge.com/developing/story/programming-apple-push -通知服务。
在我的 didFinishLaunchingWithOptions 中,我调用了 registerForRemoteNotificationTypes。
我已创建安装在钥匙串中的 SSL 证书。
现在尝试使用 PushMeBaby 发送它。
但我还没有收到任何推送消息。
I followed this tutorial for push notification.
http://mobiforge.com/developing/story/programming-apple-push-notification-services.
In my didFinishLaunchingWithOptions i have called registerForRemoteNotificationTypes.
I have created SSL certificate installed in my keychain.
And now trying to send it using PushMeBaby.
But I haven't received any push message.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您关注过以下项目吗?
如果您使用Wifi,则必须打开端口号2195和2196。
将设备令牌发送到服务器或存储设备令牌服务器以发送推送通知。
检查这个链接,它提供了 PHP 脚本的所有详细信息。
Have you followed following items ?
if you are using Wifi then the port number 2195 and 2196 must be opened.
Send the Device token to server or store Device token server for sending push notification.
Check this Link , provides all the details with PHP script.
令人惊讶的是,相同的代码也适用于 iPod。难道是因为iPhone越狱了???
Surprisingly the same code worked out for iPod. Is it because iPhone was jail-broken????