Invalid Token, error while sending push notification

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-11 14:58:26

问题


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.

Please help.

I am successfully send notification to android.


回答1:


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

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

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.



来源:https://stackoverflow.com/questions/21349029/invalid-token-error-while-sending-push-notification

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!