Does GCM deliver the messages in real time?

2

I have two applications that need to communicate and I do not want to be doing requesting to the server asking if it has something new, I wanted something that went from one app to another or from the server to the app. But I do not know if the GCM sends the messages in real time (or at least it seems), because there could not be a big delay between the messages, ah and it is also important to keep the order that the messages were sent they are received.

    
asked by anonymous 17.07.2015 / 02:53

1 answer

1

Here's what the documentation says:

  

Send a message. The application server sends messages to the client application:

     
  • The application server sends a message to the GCM connection servers.
  •   
  • The GCM connection server queues and stores the message if the device is offline.
  •   
  • When the device is online, the GCM connection server sends the message to the device.
  •   
  • On the device, the client application receives the message according to the platform-specific application. See the documentation   platform specifics for more details.
  •   

    For more information, please see documentation . Home Greetings!

        
    19.07.2015 / 03:06