I’m trying to build PhoneGap android application which gets GCM messages.
I used sample code for it, which initially receives registration ID from the server.
Is this ID should be received each time the application starts or I should save it first time and use later the saved ID?
I’m trying to build PhoneGap android application which gets GCM messages. I used sample
Share
You have to send Registration id to your own server and save it on your Server. So, that you can use it when sending push messages to GCM Server. GCM Server will send put messages to your device on the basis of that Registration id.
UPDATE:
For better clarification you could always watch the Google I/O Videos