I mean, once the message has reached the server, can I rely on GCM for that message to arrive to the phone whenever the phone is online? Can the message be lost in the middle of the way to the phone? Is there a confirmation (message arrvied) between server and phone?
I read in the documentation that “GCM makes no guarantees about delivery or the order of messages” but I don’t understand if this means that the message can be lost while trying to reach the phone or that if the phone is off the message will never arrive to the phone.
If the phone is off and you turn it on you will then get the GCM message, its the same as you would an email that you got if you had your phone off. When it says there is no guarantee you will receive the message that means there is no guarantee the server will send it out. I remember reading there is a
time to liveon the message but its not one that expires for a while