网络恢复后未收到iOS推送通知

时间:2019-01-16 07:12:47

标签: c# apple-push-notifications

下面是我的测试场景:

  1. 关闭移动网络/ wifi-iPhone
  2. 发送推送通知
  3. 未收到PN
  4. 10分钟后,打开移动网络
  5. 预期结果-应该收到PN。
  6. 实际结果-未收到PN

我了解到要在请求标头中发送的apns-expiration =非零。

有人可以帮我吗?如果我必须发送apns-expiration =非零,那么我应该在哪里发送以及以哪种格式发送?

详细信息:

  1. 使用Windows调度程序将有效负载发送到APNS。
  2. 计划程序代码在C#中

0 个答案:

没有答案