ios - When does a notification get discarded by APNS? -
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
Post a Comment