Google cloud messaging without data connection

Can Google cloud messaging deliver a “zero byte load” notification to a phone that can receive voice calls and SMS, but for some reason does not have a data connection at the moment?

By "zero byte" I mean that the phone will know that a GCM notification that did not have a payload was sent to it by a specific sender and could conceal its intention to do so.

Real world example: a burglar alarm is triggered and two push messages are sent to the homeowner - a message with a zero byte, the meaning of which is implied entirely because it was sent at all, implies that something bad is happening "and can (presumably) be delivered , even if the data connection is blocked or unavailable, because it (presumably) moves along the same transport level that is used for SMS, and a longer push notification sent after a few seconds with additional meta-information about the situation, this can only work in that If at the moment there is the possibility of connecting to the data (so that the phone can be notified and receive a payload from the server after establishing a normal data transfer session).

I read Google docs, but it seems they deliberately leaned back to say nothing about the physical transport layer of GCM.

+5
source share
2 answers
  • No. If you are using GCM, there is no error message. GCM should contain information about which service will receive this message.
  • GCM notification => Google CLOUD message. Impossible to cloud if you are not connected.
  • GCM is server push. Servers cannot click on the client if they are unavailable.
0
source

I would say “No” because GCM (and almost everything Google does) is a TCP / UDP / IP interface, so it cannot be delivered to your phone if your phone does not have an active connection (3G / 4G / WiFi).

IP-, GCM .

GCM:

  • Google.
+2

All Articles