开发者

push notification not received by iPad

We are running into an issue with push notification. We are sending alerts to iPad app through apple sand box. From our C# console, it connects to APNS (TCP/IP), authenticates SSL and sends notification. But the device didn't 开发者_JAVA技巧receive anything. Certificate(.pem) generated for development environment and we are sending the notification in ByteArray format. Is there a way to validate the device token?(meaning are we targeting the right device). Also how to retrieve the status through enhanced notification format. Any feedback/suggession would be of great help. Thank you


A couple questions:

  1. How are you sending the notification in byte array format?
  2. Isn't the Notification just a string formatted as Json?

A couple things you should be doing:

  1. Also you can be using the development certificate but in your code you've not set the environment to be sandbox.
  2. And most importantly you should be using a .p12 file as your certificate not a .pem file.

Hope that helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜