Android NEW GCM PUSH (with Google Play services)

Is there anyone who clicked GCM Message [Using Google Play Services] on your device?

this new gcm really annoys me, I will research it as 10 days without stopping, and there is no link except

https://code.google.com/p/gcm/source/browse/#git%2Fgcm-client%2Fsrc%2Fcom%2Fgoogle%2Fandroid%2Fgcm%2Fdemo%2Fapp

which could help me with the last press of gcm.

I surfed for every tutorial I could open, and they all continue to talk about C2DM (with GCMRegistrar)

I think this GCM Push was released this August 2013, so actually it would be a pain in the ass when I try to find his tutorial

this is why please help answer my questions.

why my device does not receive any GCM message, although I received this

{"multicast_id":5297321084194982891,"success":1,"failure":0,"canonical_ids":0,"results":[{"message_id":"0:1378179100955867%77ddec76f9fd7ecd"}]} 

as a response from GCM when my server sends it to GCM

+4
source share
2 answers

closed, I found a problem

the problem was never in the code, it was in the OS

try using OS 3.0 or higher, it should work well

Find out more here:

Device not receiving message from new Google Cloud Messaging (NEW GCM)

+1
source

The GoogleCloundMessaging papers include a guide for GoogleCloundMessaging GCM client using the new GoogleCloundMessaging API.

0
source

Source: https://habr.com/ru/post/1500227/


All Articles