push notification - iOS APNS "best-effort" fallback -



push notification - iOS APNS "best-effort" fallback -

i cannot seem have head around this. apns stated in documentation has best-effort delivery, i.e. delivery not guaranteed. however, if utilize push-notification model in client/server application, have utilize them somehow.

the general model looks follows: there new info on server -> server sends force notification informing client(s) there new info available -> client downloads new data.

the question then, if cannot rely 100% on notification delivered, kind of follow-back mechanism can utilize can ensure client receives new info available on server ? way ensure client has most-up-to-date info using apns ?

what way ensure client has most-up-to-date info using apns ?

there no way just apns. client needs query server when app brought foreground see if there new data, regardless of force notifications may have lost or received.

ios push-notification apple-push-notifications

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -