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

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

问题描述

我正在尝试使用 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天全站免登陆