VladRia
VladRia

Reputation: 1587

GCM service doensn't work on certain devices

Our Android app is intended to receive GCM push notifications. As for implementation I entierly used provided example: https://developer.android.com/google/gcm/client.html without any modifications.

I have two devices to test on:

An application will be diffused only with these tablets.

The problem is that my cellphone receives push messages but tablet does not although:

I just wonder what is relevant for GCM service to deliver a notification (components, google apps, SIM, parameters, settings).

Please help.

Upvotes: 0

Views: 360

Answers (1)

VladRia
VladRia

Reputation: 1587

Answer:

Note: If your organization has a firewall that restricts the traffic to or from the Internet, you need to configure it to allow connectivity with GCM in order for your Android devices to receive messages. The ports to open are: 5228, 5229, and 5230. GCM typically only uses 5228, but it sometimes uses 5229 and 5230. GCM doesn't provide specific IPs, so you should allow your firewall to accept outgoing connections to all IP addresses contained in the IP blocks listed in Google's ASN of 15169.

Upvotes: 0

Related Questions