2021年3月31日之后,APNs将不再支持传统二进制协议(解决沙盒 push发送失败)

Posted hherima

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了2021年3月31日之后,APNs将不再支持传统二进制协议(解决沙盒 push发送失败)相关的知识,希望对你有一定的参考价值。

      之前的Pusher,Smartpush,以及本博客中php写的代码都失效了。可以使用Knuff客户端发送push(Knuff下载地址 https://github.com/KnuffApp/Knuff

APNs will not support legacy binary protocol as of March 31, 2021. 

The HTTP/2‑based Apple Push Notification service (APNs) provider API lets you take advantage of great features, such as authentication with a JSON Web Token, improved error messaging, and per‑notification feedback. If you still send push notifications with the legacy binary protocol, make sure to upgrade to the APNs provider API as soon as possible. APNs will no longer support the legacy binary protocol after March 31, 2021. 

基于HTTP/2的Apple Push Notification service(APNs)provider API让您可以充分利用其强大的功能,例如使用JSON Web令牌进行身份验证、改进的错误消息传递和按通知反馈。如果仍然使用传统二进制协议发送推送通知,请确保尽快升级到APNs提供程序API。2021年3月31日之后,APNs将不再支持传统二进制协议。

------------------Knuff操作步骤----------------------

Knuff的界面如下

步骤:

1. 安装push证书,
2. 打开Knuff。选择证书和token
3. payload再补充一下,就可以发了。

参考文章: https://github.com/noodlewerk/NWPusher/issues/80

https://ask.dcloud.net.cn/question/118220?notification_id-84803__rf-false__item_id-25486

以上是关于2021年3月31日之后,APNs将不再支持传统二进制协议(解决沙盒 push发送失败)的主要内容,如果未能解决你的问题,请参考以下文章

2021年3月31日之后,APNs将不再支持传统二进制协议(解决沙盒 push发送失败)

2021年3月31日之后,APNs将不再支持传统二进制协议(解决沙盒 push发送失败)

2021年3月31日之后,APNs将不再支持传统二进制协议(解决沙盒 push发送失败)

2017年10月31日结束Outlook 2007与Office 365的连接

注意:HTML被禁之后卖家该如何应对?

“头号大厂铁粉”微软宣布关闭区块链服务