ios - When does a notification get discarded by APNS? -


see https://developer.apple.com/library/ios/documentation/networkinginternet/conceptual/remotenotificationspg/chapters/applepushservice.html

at "quality of service" section:

if device remains offline long time, notifications being stored discarded.

do know if there more precise information "for long time"? 1 hour / 1 day / 1 week / 1 month ?

it discarded when expiration time specified in payload elapses (assuming using 1 of enhanced binary formats have expiry parameter).

if specify non negative expiration time, notification stored in apns servers until time passes or delivered.

a unix epoch date expressed in seconds (utc) identifies when notification no longer valid , can discarded. if value non-zero, apns stores notification tries deliver notification @ least once. specify 0 indicate notification expires , apns should not store notification @ all.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -