无效的令牌,发送推送通知时出错 [英] Invalid Token, error while sending push notification

查看:94
本文介绍了无效的令牌,发送推送通知时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用Worklight将推送通知发送到ios.但是在发送时,IDE会在日志中显示无效的令牌ID错误.

I am trying to send push notitfication to ios using worklight. But while sending it, IDE shows invalid token id error in logs.

我正在通过使用沙箱证书对我的应用进行签名来尝试这一操作.

I am trying this by signing my app using sandbox certificate.

请帮助.

我已成功向android发送通知.

I am successfully send notification to android.

推荐答案

可以从Xcode控制台和Worklight Server添加实际的完整错误吗?

Can you add the actual full error from the Xcode console and Worklight Server?

同时,确保所有设置均正确.开发人员证书,PNS证书,应用程序ID,供应配置文件,...您可以

Meanwhile, make sure everything is set-up correctly. The Developer Certificate, the PNS certificate, the App ID, provisioning profile, ... You can follow this guide.

也可以通过推送通知"培训模块咨询(幻灯片#44),并确保所有必需的端口都已打开,并且您能够ping通APNS服务器.

Also consult with the Push Notifications training module (slide #44) and make sure all required ports are open and that you are able to ping the APNS servers.

这篇关于无效的令牌,发送推送通知时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆