IOS 设备关闭或断网时推送通知
IOS Push Notification while device OFF or out of network
我正在开发一个 IOS 应用程序,我注意到只有当设备处于开启状态并且可以访问互联网时才会收到通知,但如果设备处于关闭状态或不在网络中,则 NO 将收到通知。
It retains only one notification per application on a device:
Apple Push Notification Service includes a default Quality of Service
(QoS) component that performs a store-and-forward function. If APNs
attempts to deliver a notification but the device is offline, the QoS
stores the notification. It retains only one notification per
application on a device: the last notification received from a
provider for that application. When the offline device later
reconnects, the QoS forwards the stored notification to the device.
The QoS retains a notification for a limited period before deleting
it.
我正在开发一个 IOS 应用程序,我注意到只有当设备处于开启状态并且可以访问互联网时才会收到通知,但如果设备处于关闭状态或不在网络中,则 NO 将收到通知。
It retains only one notification per application on a device:
Apple Push Notification Service includes a default Quality of Service (QoS) component that performs a store-and-forward function. If APNs attempts to deliver a notification but the device is offline, the QoS stores the notification. It retains only one notification per application on a device: the last notification received from a provider for that application. When the offline device later reconnects, the QoS forwards the stored notification to the device. The QoS retains a notification for a limited period before deleting it.