Not all push notifications are displayed in iOS
SummaryAll the push notifications are not displayed in iOS after connecting to the Internet.
Error MessagesNot Applicable
Steps to Reproduce
- Disable Wifi
- Send multiple push notifications
- Enable Wifi
Root CauseThis behavior is as per design. Apple Push Notification (APN) 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.
ResolutionUse Local notification object to achieve this requirement. For more information, refer https://pdn.pega.com/sites/pdn.pega.com/files/mobileclient/7220/api/client_api/container_object_notifications_local_notification.html
Published April 21, 2017 - Updated June 8, 2017